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]

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


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

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