View Single Post
FreeBSD abstract declarator used as declaration
Old
  (#1)
j1mbo
Guest
 
Status:
Posts: n/a
Default FreeBSD abstract declarator used as declaration - 06-01-2004

When compiling the DMC server DLL on
FreeBSD 5.1 (egcs 1.1.2)
I get the following wierd error:
Code:
In file included from /usr/include/stdarg.h:42,
                 from extdll.h:55,
                 from animating.cpp:23:
/usr/include/sys/_types.h:80: abstract declarator used as declaration
the line it refers to in _types.h is as follows
Code:
typedef       __ct_rune_t     __wchar_t;
If I comment out that line it starts to compile normally,
but problems occur later on in the compile (near pm_shared.cpp).
Code:
/usr/include/stdlib.h:57: parse error before `wchar_t'
Is there a way around this?

Also would like to note that in order to get the HL sdk to compile
on FreeBSD I needed to get the Egcs 1.1.2 package from the Freebsd ftp
ftp://ftp.freebsd.org/pub/FreeBSD/po...egcs-1.1.2.tgz
I could not get the egcs source distribution to compile, it gave a similar
error to the one mentioned above.

Thanks,

Last edited by j1mbo; 06-01-2004 at 08:55.. Reason: clarification
  
Reply With Quote