This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ignoring #pragma push_macro


While trying to use various windows style pragma,

I am getting warning about pragma being ignored,
even though I am defining another macro HANDLE_PRAGMA_PUSH_POP_MACRO
as described at "http://gcc.gnu.org/onlinedocs/gccint/Misc.html";


I am using following code snippet:
---------
#define X 1
#pragma push_macro("X")
--------
#pragma pop_macro("X")
-------

using gcc 1.1.2 20061115 on debian.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]