In file included from main.cpp:25 /usr/include/sys/resource.h:81: field `ru_utime' has incomplete type /usr/include/sys/resource.h:82: field `ru_stime' has incomplete type.
Accordingly I ran gcc (not version 3.3) across the resource.h file with the following results;
[gw-john-ibook:/usr/include/sys] rjsand% gcc -ObjC resource.h
resource.h:119: undefined type, found `int32_t'
resource.h:120: undefined type, found `int32_t'
resource.h:124: undefined type, found `rlim_t'
resource.h:125: undefined type, found `rlim_t'
resource.h:130: undefined type, found `fixpt_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
resource.h:81: field `ru_utime' has incomplete type
resource.h:82: field `ru_stime' has incomplete type
resource.h:119: parse error before "int32_t"
resource.h:119: warning: no semicolon at end of struct or union
resource.h:120: warning: data definition has no type or storage class
resource.h:124: parse error before "rlim_t"
resource.h:124: warning: no semicolon at end of struct or union
resource.h:125: warning: data definition has no type or storage class
resource.h:130: parse error before "fixpt_t"
resource.h:130: warning: no semicolon at end of struct or union
resource.h:132: parse error before '}' token
[gw-john-ibook:/usr/include/sys] rjsand%
It does not matter if I use the Apple option or not. This seems to be a definition flaw in what I presume is an Apple header file. Notably g++ gives the same results. Has anyone come across this or any ideas please?
John Sandeman
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
