[Bug c++/12963] Wrong and misleading warning encourages writing non-portable code
jsm at polyomino dot org dot uk
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 23:52:00 GMT 2003
------- Additional Comments From jsm at polyomino dot org dot uk 2003-11-21 23:52 -------
Subject: Re: Wrong and misleading warning encourages writing
non-portable code
On Fri, 21 Nov 2003, bangerth at dealii dot org wrote:
> I agree with Robert on this point: we shouldn't get this warning
> _when not giving any flag_. IMHO, the warning is quite valid and tells
As I previously pointed out
<http://gcc.gnu.org/ml/gcc-patches/2003-03/msg01954.html>. Given this
sort of portability issue, a separate option (maybe in -Wextra, but
probably not in -Wall), such as -Wcomparison-fixed, is appropriate for
these warnings and those already in -Wextra I mentioned in that message.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12963
More information about the Gcc-bugs
mailing list