Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: solaris warnings
Home

[Freeciv-Dev] Re: solaris warnings

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: solaris warnings
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 10 Dec 2002 00:10:12 +0000 (WET)

On Mon, 9 Dec 2002, Per I. Mathisen wrote:

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -DDEBUG  -Werror -Wall -O3 -g
> -c `test -f 'version.c' || echo './'`version.c
> cc1: warnings being treated as errors
> In file included from connection.c:44:
> netintf.h:53: warning: `struct sockaddr' declared inside parameter list
> netintf.h:53: warning: its scope is only this definition or declaration,
> which is probably not what you want.
> cc1: warnings being treated as errors
> In file included from support.c:88:
> netintf.h:53: warning: `struct sockaddr' declared inside parameter list
> netintf.h:53: warning: its scope is only this definition or declaration,
> which is probably not what you want.

Peachy. I guess that header file needs to include <sys/socket.h>.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





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