This is the mail archive of the gcc-prs@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


The following reply was made to PR preprocessor/5177; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: Chris Adams <cmadams@hiwaay.net>
Cc: Richard Henderson <rth@redhat.com>, neil@gcc.gnu.org,
	gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
	gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/5177: Problem with gcc-3.0.2 CPP and #define
Date: Tue, 1 Jan 2002 11:15:03 -0800

 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]