This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [DOC] clearer description of -std= (try 2)
On 18/01/2008, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> Hello Manuel,
>
> In your patch you mention that gnu89 is the default now but gnu99 will
> become the default eventually. Will -ansi then switch to mean c99?
I only rewrite what was written. I really can't speculate.
> If this has been decided already, might as well present it that way,
> or at least give the reader hope that it might happen. So I suggest
> adding a sentence up front:
>
> Switch from the GNU dialect used to its base standard. In C mode, this
> is equivalent to @samp{-std=c89}. In C++ mode, it is equivalent to
> @samp{-std=c++98}.
>
I think "switch to" is likely to cause confusion. (Does this mean that
-std=gnu14 -ansi is equivalent to -std=c14? I know the answer is no
but...) I think what you want to mean is "Use the default base
standard". But I prefer my current wording.
Thanks,
Manuel.