Compiling on FreeBSD 4.3-STABLE

From: Damian Jurzysta (damian@atab.cc)
Date: 07/01/01


I get the following warning trying to compile a clean bpl 17 and 18 on a server
running FreeBSD v4.3-STABLE:

In file included from sysdep.h:222,
                 from comm.c:14:
/usr/include/sys/socket.h:54: warning: empty declaration

comm.c line 14 is simply an include: #include "sysdep.h"

sysdep.h line 221 to 223 says:

#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif

And finally, socket h line 53 to 56:

#ifdef    _BSD_SOCKLEN_T_
typedef    _BSD_SOCKLEN_T_    socklen_t;
#undef    _BSD_SOCKLEN_T_
#endif


Now I wonder, is this a bug in GCC, FreeBSD or Circle? What can I do to fix
this?
--
Damian

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST