On 3 November 2014 12:30, Jacob Nevins
<[email protected]> wrote:
> 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?)

 That's expected with gettext-0.19.3 bootstrap files. It's
configurable in Makevars, though, if it turns out to cause problems.

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

 I'm not sure if I've seen that. I got exactly same message in larger
automated build where it might has had -Werror, but it's also possible
that it was turned off at that point. Anyway, interestingly it says
"warning:" (not "error:") and it does not include "[-Werror]"

> (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've seen that (or at least some C-only flag being passed to C++
compilation) occasionally for some time.



 - ML

_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to