xdr.h -- function returns a function?
L. Holcombe
worker201@yahoo.com
Wed Aug 6 18:14:00 GMT 2003
Hello,
I am trying to use gcc-3.3 to compile a program
(MBSystem, a sonar package). Running the Interix 3.0
subsystem over WinXP (bash 2.05b). The process keeps
hanging up, and I am not sure why. Can anyone see any
problems here? I admit that I don't really know what
I am doing here, and would appreciate any ideas or
suggestions.
snippet of errors:
---------------------------------------
make[2]: Entering directory
'/usr/local/mbsystem/src/mr1pr'
/opt/gcc.3.3/bin/gcc -c -g -w -D_ALL_SOURCE -DOTHER
-DBYTESWAPPED -DGMT3.3 io.c
In file included from mr1pr_defines.h:71,
from io.c:45:
/dev/fs/C/SFU/usr/include/rpc/xdr.h:98: error: parse
error before '*' token
/dev/fs/C/SFU/usr/include/rpc/xdr.h:98: error:
'bool-t' declared as function returning a function
---------------------------------------
and the line from xdr.h that offends:
---------------------------------------
typedef bool_t (*xdrproc_t)();
---------------------------------------
Thanks in advance for any help.
More information about the Gcc-help
mailing list