This is the mail archive of the gcc-bugs@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: preprocessor/5177: Problem with gcc-3.0.2 CPP and #define


On Sun, Dec 23, 2001 at 06:14:14PM -0600, Chris Adams wrote:
> > Basically, we'd have to do some extremely ugly fixincludery to
> > get this transformed to something that works properly wth gcc.
> 
> I can't really see how it could be done other than to either support the
> DEC/Compaq "#pragma extern_prefix" extension (and detecting it and
> changing the #if around it)

You might want to talk to Martin Loewis, this sounds rather similar to
Sun's #pragma redefine_extname, which he was adding to GCC.  In
general I think it's a good idea for GCC to recognize and do something
sensible with #pragmas used in system headers.

zw


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