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++/12963] Wrong and misleading warning encourages writing non-portable code


------- 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


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