Some oddities I've noticed when refreshing trunk from svn and building it recently:
(1) I came back once to find it had apparently done a "make update-po", which I never expect to happen as a result of just "make" (as opposed to "make dist" or whatever). Can't repeat it. (Guess: maybe this happened the first time after I pulled patch #5401?) (2) Seeing warnings go by in C code, but compilation doesn't stop even though I have --enable-debug as usual and hence expect to have -Werror. ... CC notify.lo CC plrhand.lo plrhand.c: In function 'handle_diplomacy_cancel_pact': ../utility/speclist.h:192:18: warning: 'pplayer2_seen_units' may be used uninitialized in this function [-Wuninitialized] plrhand.c:656:42: note: 'pplayer2_seen_units' was declared here ../utility/speclist.h:192:18: warning: 'pplayer_seen_units' may be used uninitialized in this function [-Wuninitialized] plrhand.c:656:21: note: 'pplayer_seen_units' was declared here plrhand.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] CC report.lo CC rssanity.lo ... (The blather about "-Wno-tautological-compare" is longstanding; IIRC that's a Clang option?) (3) Every C++ compilation spits out a warning: ... CXX canvas.lo cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] CXX chatline.lo cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] ... I don't think I've changed anything about the system I'm building on recently (still Ubuntu 12.04). _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
