From: Richard C. <rd_...@sb...> - 2003-12-16 20:27:58
|
It's me again... I'm setting up a new UNIX box (FreeBSD) as a development station, in part= tocheck the Zoolib example(s) I'm writing and I ran into compilation= =A0problems running the "POSIX" build style: - FreeBSD 4.9 uses the GCC 2.95 compiler chain, which wouldn't compile= the=A0code (no <sysint.h>). - Upgrading to GCC 3.3.3 compiled more of the code, but failed to find= the=A0NAN used in ZTIme.cpp (it's not in <math.h>, though _isnan is.) (FYI, I ran a find for \*math.h and grepped the results for NAN -- no= such=A0luck.) So, my questions are: 1. Which GCC did you test with (and on which platforms?) 2. How can/should we handle an uninitialized time on platforms that don't= have NAN defined as a constant? (Perhaps a flag in ZTIme?) =A0...Richard |