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 04:18:12PM -0000, neil@gcc.gnu.org wrote:
>     It is a bug in your package that it trips over the macro.

No, it's not his fault -- <sys/stat.h> contains something like

#if _DECC
#pragma prefix symbols with "_F64"
#else
#define stat(a,b,c)  _F64stat(a,b,c)
#endif

Basically, we'd have to do some extremely ugly fixincludery to
get this transformed to something that works properly wth gcc.


r~


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