darwin gcc3.3 isinf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. I'm trying to compile a package on a Mac OSX Darwin 7.7.0, with gcc 3.3, and I get the following error:

../../include/rheolef/csr.h:292: instantiated from `bool csr<T>::any_element_is_inf_or_nan() const [with T = Float]'
csr.cc:545: instantiated from here
../../include/rheolef/macros.h:42: error: `isinf' undeclared (first use this
function)
../../include/rheolef/macros.h:42: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make[3]: *** [csr.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


I notice that problems with isinf and isnan seem to be common for applications on this platform, but I don't know what to do to fix it. I can't just change the code to #include math.h instead of cmath, because it is quite a complicated build. Can I modify something in the configure script to make this substitution, or is there some other standard way to work around this problem?


Thanks lots,
Becky
----------------------------------------------------------------------------------------------
Rebecca Bendick, Ph.D.
Bullard Laboratories
University of Cambridge
Madingley Road
CAMBRIDGE
CB3 0EZ
United Kingdom<x-tad-bigger>

bendick@xxxxxxxxxxxxx</x-tad-bigger>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux