This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning C vs C++
On Sat, 17 Sep 2005, Ian Lance Taylor wrote:
> As far as I can tell, gcc does not warn about narrowing assignments.
> I don't think people would object to adding such a warning, though
> probably not under -Wall. If you want to make an enhancement request,
> please file it at http://gcc.gnu.org/bugzilla/. Thanks.
Bug 9072 is the bug tracking the need for a better -Wconversion (to warn
for any implicit conversion which may change a value). We don't need a
new bug for this. (Bug 6614 tracks other specific problems with the
current -Wconversion.)
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)