Apparently GCC 3.4.4 wants the prototypes to have a (void) in the
prototype argument list (Thank you Bill Moran). Honestly, I can't even
see where these these actual functions are (recursive grep), so it must be
a prototype/macro, or prototypes for non-existant functions.
I imagine that's why the error isn't "mismatched protoype for
function"
We're not calling libnet_cq_* anything in linux-ha / heartbeat.
Good times, good times.
~BAS
On Wed, 10 May 2006, Brian A. Seklecki wrote:
When compiling send_arp.c the compiler warns about some functions and then
bombs out due to -Werror:
In file included from /usr/local/include/libnet.h:124,
from send_arp.c:37:
/usr/local/include/./libnet/libnet-functions.h:1840: warning: function
declaration isn't a prototype
/usr/local/include/./libnet/libnet-functions.h:1862: warning: function
declaration isn't a prototype
/usr/local/include/./libnet/libnet-functions.h:1870: warning: function
declaration isn't a prototype
/usr/local/include/./libnet/libnet-functions.h:1878: warning: function
declaration isn't a prototype
/usr/local/include/./libnet/libnet-functions.h:1886: warning: function
declaration isn't a prototype
gmake: *** [send_arp.o] Error 1
k
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/