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: c++/10470: [pch] spurious warning about "anonymous variadic macros were introduced in C99"


Old Synopsis: anonymous variadic macros were introduced in C99 warning at pch using
New Synopsis: [pch] spurious warning about "anonymous variadic macros were introduced in C99"

Responsible-Changed-From-To: unassigned->geoffk
Responsible-Changed-By: bangerth
Responsible-Changed-When: Thu Apr 24 01:33:56 2003
Responsible-Changed-Why:
    pch
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Apr 24 01:33:56 2003
State-Changed-Why:
    Geoff, I think you're being overly harsh -- the bug report
    includes everything one needs to reproduce the problem. I
    see the very same reported problem on my linux box. It
    should be simple for you as well to reproduce this.
    
    W.
    
    g/x> cat x.h
    #include<string>
    
    g/x> cat x.cc
    #include"x.h"
    
    int main() {
      return 0;
    }
    
    g/x> rm x.h.gch
    rm: cannot remove `x.h.gch': No such file or directory
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -ansi -pedantic -Werror -Winvalid-pch -c x.cc
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -ansi -pedantic -Werror -Winvalid-pch -c x.h
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -ansi -pedantic -Werror -Winvalid-pch -c x.cc
    x.cc:679:2: anonymous variadic macros were introduced in C99
    
    Note also the bogus line number 679, which certainly doesn't
    exist in this file.

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


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