[ACCEPTED]-What is __pragma and what are the differences between __pragma and #pragma-macros
Accepted answer
#pragma
is a preprocessor directive in its own 9 right; it can't be used within a #define
directive.
So, this 8 is why __pragma
exists: it provides a way for a 7 pragma to be issued from wherever the macro 6 that uses it is expanded.
This is a non-standard 5 compiler extension (MSVC, Intel, and some 4 C compilers support it to varying degrees). See 3 also the _Pragma
operator that is defined in newer versions 2 of the C/C++ standards (and serves the same 1 purpose, but with a slightly different syntax).
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.