Compiling on FreeBSD 4.3-STABLE

From: Damian Jurzysta (
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:

# include <sys/socket.h>

And finally, socket h line 53 to 56:

#ifdef    _BSD_SOCKLEN_T_
typedef    _BSD_SOCKLEN_T_    socklen_t;
#undef    _BSD_SOCKLEN_T_

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

   | FAQ: |
   | Archives: |

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