by bcoates · 13y ago · 0 comments
test.cpp(19): warning C4018: '<' : signed/unsigned mismatch
Default configuration of MSVC 2012 (this has been an on-by-default warning for roughly a decade, maybe longer).I'm curious whether CL does warn on this by default, or if MSVC's default just includes similar warning flags.
I can't argue with that. I'd also teach students right from the start to look at the intermediate files as one of the early steps to understanding compile problems (so with gcc that would be the '-save-temps' option).