[Bug c++/62148] g++ does not catch signed/unsigned comparisons when run on a pre-processed source
aron at cohesity dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 15 01:03:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62148
--- Comment #1 from aron at cohesity dot com ---
Created attachment 33333
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33333&action=edit
Modified chk.cc that when compiled does not emit signed/unsigned comparison
warning
Attached is the modified source file chk.cc that has the offending statement at
the beginning. Try compiling it again using 'g++ -Wall -c chk.cc'. This time
there won't be any warning.
More information about the Gcc-bugs
mailing list