DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14143>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14143 GNU gcc -E 2.95.3 dosen't define __GNUG__ on solaris [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-11-18 21:20 ------- I use gcc 2.95.3 and it works for me. > cat hello.cpp //#include <stdio.h> int main() { #ifdef __GNUC__ printf("GNUC is defined\n"); #else printf("GNUC is not defined\n"); #endif #ifdef __GNUG__ printf("GNUG is defined\n"); #else printf("GNUG is not defined\n"); #endif return 0; } > gcc --version 2.95.3 > gcc -E hello.cpp # 1 "hello.cpp" int main() { printf("GNUC is defined\n"); printf("GNUG is defined\n"); return 0; } If this is a problem with gcc 2.95.2 only, then this is a bug with gcc, not the parser. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
