This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Time for GCC 5.0? (TIC)
On Fri, 9 Nov 2012, NightStrike wrote:
> Making c99 the default for gcc would be a great candidate for this.
> IIUC, gcc without -std=c99 will compile for c89. And if I read the
> manual correctly, it's because c99 isn't finished yet. gcc 5.0 should
> have a complete c99.
The reason gnu99 is not the default is not that certain corner cases of
extended identifiers do not work ideally (in particular regarding handling
of different source-code spellings of the same UCN) and so extended
identifiers are still in their own option rather than enabled by default
for C99 and C++, it's that there is no warning option to warn about
C90/C99 incompatibilities when compiling in gnu99 mode to at least the
extent -pedantic diagnoses things when compiling in gnu89 mode. Given
such a warning option I think it would be reasonable to make gnu99 the
default.
--
Joseph S. Myers
joseph@codesourcery.com