bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] gcc 3.1 (My compile log)


From: Øystein O Johansen
Subject: Re: [Bug-gnubg] gcc 3.1 (My compile log)
Date: Mon, 12 Aug 2002 10:23:29 +0200

Hi,
Here are some lines from my compilelog when using gcc-3.1.

gcc -mms-bitfields -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
=\"/mingw/lib/locale\" -I. -I./lib -I/mingw/include/glib-2.0/   -c -o
eval.o eval.c
eval.c: In function `MoveKey':
eval.c:7118: warning: control reaches end of non-void function

I've already reported this to Jørn. I guess he take care of this.

[snip]

gcc -mms-bitfields -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
=\"/mingw/lib/locale\" -I. -I./lib -I/mingw/include/glib-2.0/   -c -o
export.o export.c
export.c: In function `ExportGameEquityEvolution':
export.c:248: warning: deprecated use of label at end of compound statement

What does this mean? This warning does not appear when compiling with
2.95.3.

export.c:61: warning: `fEquity' might be used uninitialized in this
function
export.c:61: warning: `fError' might be used uninitialized in this function
export.c:61: warning: `fLuck' might be used uninitialized in this function

These are simple... we should just initialise the variables.

gcc -mms-bitfields -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
=\"/mingw/lib/locale\" -I. -I./lib -I/mingw/include/glib-2.0/   -c -o
getopt.o getopt.c
getopt.c: In function `_getopt_internal':
getopt.c:571: warning: implicit declaration of function `strcmp'
getopt.c:647: warning: implicit declaration of function `strncmp'
getopt.c:650: warning: implicit declaration of function `strlen'

Isn't these standard functions from string.h? getopt.c isn't our
file either?

getopt.c:692: warning: suggest explicit braces to avoid ambiguous `else'

This appeared with gcc-2.95.3 also. Never mind this.

[snip]

gcc -mms-bitfields -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
=\"/mingw/lib/locale\" -I. -I./lib -I/mingw/include/glib-2.0/   -c -o sgf.o
sgf.c
sgf.c: In function `RestoreGS':
sgf.c:291: warning: deprecated use of label at end of compound statement

What does this mean?

[snip]

gcc -mms-bitfields -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
=\"/mingw/lib/locale\" -I. -I./lib -I/mingw/include/glib-2.0/   -c -o
text.o text.c
text.c: In function `OutputRolloutContext':
text.c:190: warning: too many arguments for format

And what does this mean?

gcc -o gnubg analysis.o copying.o credits.o database.o dice.o drawboard.o
erf.o eval.o external.o export.o getopt.o getopt1.o gdkgetrgb.o gnubg.o
gtk-multiview.o gtkboard.o gtkchequer.o gtkcube.o gtkexport.o gtkgame.o
gtkprefs.o gtktheory.o guile.o html.o i18n.o import.o kleinman.o latex.o
matchequity.o matchid.o play.o positionid.o postscript.o pub_eval.o
rollout.o set.o sgf.o sgfl.o sgfp.o show.o strdup.o text.o gnubg.res
-mwindows -L./lib -levent -lxml2 -lintl.dll -lgdbm.dll -lglib-2.0.dll
-lgdk.dll -lgtk.dll -lm

At least it links, I'm happy!

-Øystein


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]