On Mon, Oct 24, 2011 at 9:10 AM, Jason Merrill <ja...@redhat.com> wrote: > On 10/24/2011 09:49 AM, Gabriel Dos Reis wrote: >> >> On Mon, Oct 24, 2011 at 8:29 AM, Jason Merrill<ja...@redhat.com> wrote: >>> >>> Right, -Wno-long-long is only useful in C++03 and C90. But it does in >>> fact >>> suppress a standard diagnostic. >> >> a diagnostic of an extension :-) > > I'm not going to argue semantics any further. What change do you suggest > that still allows users to suppress narrowing diagnostics in C++11? >
Hmm, the narrowing semantics also affects SFINAE, not just simple declaration. If we want a flag that can also affect the outcome of overload resolution, it should one of the the -fflags, such as -fpermissive. -- Gaby