This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50810] c++0x-compat does not warn about narrowing conversions


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]