[Coin-discuss] COIN on a Mac

Laszlo Ladanyi ladanyi at us.ibm.com
Sun Jan 5 08:39:00 EST 2003


Errr... The BCP headers were written in the days of egcs 1.1.2 ... I should
really go back and update them. They will still be needed because even if
time/rusage are standardized by now the name of 'construct' and 'destroy' is
still different on various platforms :-(.

--Laci

On Sat, 4 Jan 2003 ScottWelz at aol.com wrote:

> Darwin uses gcc 3.1...here's how the chain goes:
> 
> - rusage is referenced by getrusage() declared in sys/resource.h
> - struct rusage is defined in sys/resource.h also
> - struct rusage contains fields of type struct timeval
> - sys/time.h defines struct timeval
> 
> There aren't any includes in resource.h that get me to sys/time.h.
> 
> BCP requires an operating system specific file where, in a couple of cases, 
> sys/time.h is added as an include (this include is added in the AIX version 
> and the Linux version).   Is this a result of a related issue?
> 
> Thanks for the help in figuring this out.
> 
> Scott
> 




More information about the Coin-discuss mailing list