This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44500] [C++0x] Bogus narrowing conversion error
- From: "gpiez at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2011 11:45:50 -0000
- Subject: [Bug c++/44500] [C++0x] Bogus narrowing conversion error
- Auto-submitted: auto-generated
- References: <bug-44500-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44500
--- Comment #18 from Gunther Piez <gpiez at web dot de> 2011-03-24 11:45:47 UTC ---
I have chosen the "recommended" way and added a cast, -fpermissive would allow
to many other dubious constructs to pass. Still I think c++ should get rid of
implicit integer conversions :-)