------- 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