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: c/4151: gcc will not permit printf() to be redefined with -O switch


Synopsis: gcc will not permit printf() to be redefined with -O switch

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 24 09:19:58 2002
State-Changed-Why:
    Invalid testcase:
    
    try.c:21: parse error before "const"
    try.c:22: warning: conflicting types for built-in function `fprintf'
    try.c: In function `fprintf':
    try.c:26: `fmt' undeclared (first use in this function)
    try.c:26: (Each undeclared identifier is reported only once
    try.c:26: for each function it appears in.)
    try.c:26: `va_start' used in function with fixed args
    
    
    
    The decision to define printf() as a macro was
    made in the GNU C library (glibc), not gcc.

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


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