This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50810] c++0x-compat does not warn about narrowing conversions
- From: "jason at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Oct 2011 02:06:56 +0000
- Subject: [Bug c++/50810] c++0x-compat does not warn about narrowing conversions
- Auto-submitted: auto-generated
- References: <bug-50810-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50810
--- Comment #9 from Jason Merrill <jason at redhat dot com> 2011-10-23 02:06:56 UTC ---
I think that makes sense, yes. People can always specify -Wno-narrowing if they
don't want it.
"paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> wrote:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50810
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|paolo.carlini at oracle dot |
|com |
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-23
00:36:25 UTC ---
I have the patch essentially ready. My only remaining doubt is that currently
-Wc++0x-compat is part of -Wall, and -Wnarrowing would become also part of
-Wall. Are we sure about this?