Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#6451) Solaris compiler warning
Home

[Freeciv-Dev] (PR#6451) Solaris compiler warning

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6451) Solaris compiler warning
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Thu, 9 Oct 2003 05:00:09 -0700
Reply-to: rt@xxxxxxxxxxxxxx

I just saw an interesting compiler warning during a build on Solaris:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -I../intl
-I../common/aicore -I./userdb    -g -O2 -Wall -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -MT srv_main.o
-MD -MP -MF ".deps/srv_main.Tpo" \
  -c -o srv_main.o `test -f 'srv_main.c' || echo './'`srv_main.c; \
then mv ".deps/srv_main.Tpo" ".deps/srv_main.Po"; \
else rm -f ".deps/srv_main.Tpo"; exit 1; \
fi
In file included from ../common/capability.h:17,
                 from srv_main.c:47:
../common/shared.h:86:1: warning: "WRAP" redefined
In file included from /usr/include/sys/termio.h:13,
                 from srv_main.c:32:
/usr/include/sys/termios.h:251:1: warning: this is the location of the
previous definition


Looks like "WRAP" is already used by termio.h.

-- 
Brett Albertson
brett.albertson@xxxxxxxxxxxx


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