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]

Re: ignoring #pragma push_macro


GANGRADE AMIT MADANLAL	  <h2008027@bits-pilani.ac.in> writes:

> 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.

There is no gcc version 1.1.2.

Support for #pragma push_macro was first added in gcc 4.3.

Ian


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