On 10/24/2011 09:26 AM, Gabriel Dos Reis wrote:
On Mon, Oct 24, 2011 at 8:06 AM, Jason Merrill<ja...@redhat.com>  wrote:

No.  I added -Wno-narrowing specifically to suppress the diagnostic in C++0x
mode; see c++/49793.  There are several diagnostics required by standards
that can be suppressed by -Wno- flags, such as -Wno-long-long.

I do not think I follow.  The way we suppress a standard feature is through
a non-W flag.  -Wno-long-long should not have any effect at all in C++11.
It may have an effect in C++03.

Right, -Wno-long-long is only useful in C++03 and C90. But it does in fact suppress a standard diagnostic.

Jason

Reply via email to