[Freeciv-Dev] Re: solaris warnings
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|