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++/7844: Function declarations parsed incorrectly


Synopsis: Function declarations parsed incorrectly

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Sep 13 09:03:45 2002
State-Changed-Why:
    Not a bug.
    The declaration of 'foo' is parsed as
      void foo(int I)
    i.e., a function accepting an integer parameter named 'I'.
    The 'I' inside 'foo' hides the global typedef 'I'.

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


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