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]

[Bug c/25504] -ansi -Wall should warn about variable-size arrays



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-20 18:26 -------
This is not really a bug:
       -ansi
           In C mode, support all ISO C90 programs.  In C++ mode, remove GNU
extensions that
           conflict with ISO C++.


           The -ansi option does not cause non-ISO programs to be rejected
gratuitously.  For
           that, -pedantic is required in addition to -ansi.

And since this extension is also part of C99.  This is not a bug really.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25504


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