This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use "[warning enabled by default]" for default warnings
- From: Arnaud Charlet <charlet at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Sun, 9 Feb 2014 21:09:26 +0100
- Subject: Re: Use "[warning enabled by default]" for default warnings
- Authentication-results: sourceware.org; auth=none
- References: <87eh3c3vl1 dot fsf at talisman dot default>
> IMO the natural assumption is that gnu++11 is enabled by default, which is
> how Lars also read it.
>
> There seemed to be support for using "warning enabled by default" instead,
> so this patch does that. Tested on x86_64-linux-gnu. OK to install?
>
> I'll post an Ada patch separately.
FWIW this doesn't seem desirable to me, this will make the diagnostic longer.
For Ada this wouldn't really disambiguate things, and some users may be
dependent on the current format, so changing it isn't very friendly.
Arno