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/6779: -O option causes preprocessing problems


Synopsis: -O option causes preprocessing problems

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu May 23 02:50:36 2002
State-Changed-Why:
    This is the same as the frequently reported non-bug.
    
    Glibc defines printf as a macro if optimization is on.
    At the top of your file, put #undef printf to solve this.
    GCC 3.2 allows you to put directives in macro arguments,
    so this Gblic issue disappears, but the changes will
    not be backported to 3.1 .
    
    Why was the message reported by the compiler unclear to
    you?  I'm worried as I don't think I can make it any clearer.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6779


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