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/7475: gcc compiles illegal source code without generating any warnings


Synopsis: gcc compiles illegal source code without generating any warnings

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Fri Aug  2 13:58:03 2002
Responsible-Changed-Why:
    Triaged.
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Fri Aug  2 13:58:03 2002
State-Changed-Why:
    Please peruse the man/info sections on the various Warning
    options.
    paolo:~> gcc -Wall -pedantic 7475.c
    7475.c: In function `bar':
    7475.c:4: warning: ISO C89 forbids variable-size array `a'
    7475.c:4: warning: ISO C89 forbids variable-size array `a'
    7475.c:7: warning: control reaches end of non-void function
    7475.c: In function `foo':
    7475.c:13: warning: control reaches end of non-void function

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


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