Sorry to say that it doesn't compile on FreeBSD (see below).
The warnings about BSOCK::recv are probably generic and occur in every file.
There is some hack for ENODATA in bsockcore.c, but not in bsock.c.
Compiling bsock.c
In file included from bsock.c:35:
In file included from ../bacula.h:169:
In file included from ../lib/lib.h:51:
./bsock.h:72:12: warning: 'BSOCK::recv' hides overloaded virtual function
[-Woverloaded-virtual]
int32_t recv();
^
./bsockcore.h:140:20: note: hidden overloaded virtual function
'BSOCKCORE::recv' declared here: different number of
parameters (1 vs 0)
virtual int32_t recv(int len);
^
bsock.c:439:20: error: use of undeclared identifier 'ENODATA'
b_errno = ENODATA;
^
bsock.c:467:23: error: use of undeclared identifier 'ENODATA'
b_errno = ENODATA;
^
bsock.c:520:17: error: use of undeclared identifier 'ENODATA'
b_errno = ENODATA;
^
bsock.c:537:20: error: use of undeclared identifier 'ENODATA'
b_errno = ENODATA;
^
1 warning and 4 errors generated.
gmake[1]: *** [Makefile:183: bsock.lo] Error 1
__Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel