Date: 14 Sep 1999 18:00:18 +0200 From: Marko Schuetz <marko@ki.informatik.uni-frankfurt.de> To: freebsd-stable@freebsd.org Subject: Q: parse error in /usr/include/netdb.h? Message-ID: <86u2oxa3fx.fsf@king.ki.informatik.uni-frankfurt.de>
next in thread | raw e-mail | index | archive | help
I have a program to compile which I did not write that includes
<arpa/inet.h> and <netdb.h>.
I tried compiling with the /usr/bin/cc (v 2.7.2.3) and with gcc
2.9.5. From both I get:
In file included from mercury_trace_external.c:42:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
In file included from mercury_trace_external.c:44:
/usr/include/netdb.h:179: parse error before `('
/usr/include/netdb.h:179: `type name' declared as function returning an array
/usr/include/netdb.h:179: `type name' declared as function returning a function
/usr/include/netdb.h:179: parse error before `)'
gmake[2]: *** [mercury_trace_external.o] Error 1
Any idea what's wrong?
Marko
--
Marko Schütz marko@cs.uni-frankfurt.de
http://www.ki.informatik.uni-frankfurt.de/~marko/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u2oxa3fx.fsf>
