This is the mail archive of the gcc@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]

More consistent set of allowed values of std flag


Hi,

I have same suggestions connected with the set of allowed values for std flag in gcc for C and C++. According to manual, there are 3 categories of accepted values: ISO standard reference number (ex. iso9899:1990), common name (c90) and version with gnu extensions (ex. gnu90) . But for same standards (amendment C90 and C++) there is only one of them supported. So mu suggestion is to extend set of possible values to:

c90, iso9899:1990;
gnu90

*c94* or *c95*,  iso9899:199409;
*gnu94* or *gnu95* (optionally)

c99, iso9899:1999
gnu99

c1x, *iso9899:201x*
gnu1x

c++98, *iso14882:1998**
*gnu++98

c++0x,*iso14882:200x*
gnu++0x

Regards
Tomasz


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