This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is C++11 to be default for GCC 4.9?
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: gcc-help at gcc dot gnu dot org, Lars Hagström <lars at foldspace dot nu>, "gcc at gcc dot gnu dot org >> GCC" <gcc at gcc dot gnu dot org>, rdsandiford at googlemail dot com
- Date: Mon, 27 Jan 2014 17:35:53 +0100 (CET)
- Subject: Re: Is C++11 to be default for GCC 4.9?
- Authentication-results: sourceware.org; auth=none
- References: <CABUYEh9Rvwg7mu1GfP8bCoGveSR=UDpxd2QSBH8fr_6bPArzcg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1401241021120 dot 3643 at laptop-mg dot saclay dot inria dot fr> <8738kak9a3 dot fsf at talisman dot default> <52E67694 dot 4050008 at redhat dot com>
- Reply-to: gcc-help at gcc dot gnu dot org
On Mon, 27 Jan 2014, Florian Weimer wrote:
On 01/26/2014 05:17 PM, Richard Sandiford wrote:
Any objections to changing it to "this warning is enabled by default"
or "warning enabled by default"? Or is that too verbose?
The second one looks fine to me, need to find a real reviewer now ;-)
We should show the flag that enables the warning, so that users can use the
-Wno- variant to disable it if they want. Or does "enabled by default" mean
that no such -Wno- flag exists?
Exactly. -std=c++11 is the right way to make this warning quiet.
--
Marc Glisse