This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xdr.h -- function returns a function?


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]