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]

s/ANSI C/ISO C/


From time to time it has been proposed to change the "ANSI C forbids"
warnings, pedwarns and errors to refer to ISO C instead.  Does anyone see
any reason not to do this?  (Note that the preprocessor already refers to
ISO C, and G++ was changed to refer to ISO C++ long ago.)

In some cases the message is only applicable to the old standard, and in
such cases it seems reasonable to put the standard version in the message
(whether or not GCC currently handles the differences between standards
versions properly in that particular case).  What would the preferred form
of such references be:

ISO C		(not specifying version)
ISO C89		(date of ANSI standard)
ISO C 89	(same, with a space)
ISO C90		(date of ISO standard)
ISO C 90	(same, with a space)

?

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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