[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Warnings during compilation
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Warnings during compilation |
Date: |
Thu, 3 Jul 2003 17:31:38 +0200 |
User-agent: |
Mutt/1.2.5.1i |
On Thu 03 Jul 2003 (11:27 +0200), Gabi at HotPOP wrote:
> Hi,
>
>
>
> I told Nardy that the previous source snapshots produced many warnings when
> compiled, and he told me that these things are getting fixed.
> Unfortunately, I don't know how to contribute to the project, and I don't
> have a normal development environment yet. Anyway, I got the latest sources
> and tried to compile them. I still get many warnings (listed below).
I've now commited little cosmetic fixes (and one micro-bugette) so
that it compiles without warnings with gcc -Wall under FreeBSD
> export.c:756: warning: unused variable `anBoardJF'
variable removed
> getopt.c:648: warning: implicit declaration of function `strncmp'
This is not good - do you have a string.h?
> gtktheory.c:259: warning: unused variable `sz'
> gtktheory.c:663: warning: unused variable `k'
variables removed
> osr.c:632: warning: unused variable `antmp'
variable removed
> renderprefs.c:84: warning: implicit declaration of function `strchr'
> renderprefs.c:84: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:112: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:135: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:146: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:155: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:164: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:173: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:198: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:208: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:217: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:226: warning: assignment makes pointer from integer without a
> cast
> renderprefs.c:246: warning: implicit declaration of function `strncasecmp'
These are not good - again you seem to be missing string.h
gcc -Wall found some other things to niggle about, all have been
suppressed
If you have a string.h, you need to find out why it's not being found
by the configure script.
--
Jim Segrave address@hidden