Still a lot of C++ files getting "fixed"

Zack Weinberg zack@wolery.cumb.org
Wed Jan 26 16:08:00 GMT 2000


On Wed, Jan 26, 2000 at 05:49:40PM -0500, Michael Meissner wrote:

> We really should adopt a -iso switch (possibly an -iso=year switch to go
> between the two revisions of the standard) and phase out the -ansi switch.

We already have the -std switch which can take a pile of different
values:

c89, iso9899:1990	- C89, no extensions
iso9899:199409		- C89+Amendment 1, no extensions
gnu89			- C89, extensions

c9[9x], iso9899:199[9x]	- C99, no extensions
gnu9x			- C99, extensions (default)

This needs to be generalized to C++, Fortran, etc.

zw


More information about the Gcc-bugs mailing list