From: boost (boost_at_[hidden])
Date: 2001-07-25 06:03:19
I tried to compile the interval test examples
from the files section n Linux/gcc, but I couldn't succeed.
Using gcc-2-95.3 -- changing <limits> to <boost/limits.hpp> --
I get a long list of of error messages, which I have attached,
peter_at_baxter:/samba/Boost/interval > g++ -I ../boost interval_test.cpp
In file included from interval_test.cpp:22:
../boost/boost/interval.hpp:331: syntax error before `&'
../boost/boost/interval.hpp:332: `::basic_ostream' undeclared (first use here)
../boost/boost/interval.hpp:332: `Ch' was not declared in this scope
../boost/boost/interval.hpp:332: `ChTr' was not declared in this scope
../boost/boost/interval.hpp:332: `os' was not declared in this scope
../boost/boost/interval.hpp:332: parse error before `<'
../boost/boost/interval.hpp:332: ANSI C++ forbids declaration `operator <<' with no type
../boost/boost/interval.hpp:332: `boost::operator <<(...)' must have an argument of class or enumerated type
Using gcc-3.0 I get a shorter list of error messages.
In file included from ../boost/boost/interval.hpp:98,
../boost/boost/detail/isoc99_rounding_control.hpp: In function `bool
../boost/boost/detail/isoc99_rounding_control.hpp:63: `signbit' undeclared
(first use this function)
../boost/boost/detail/isoc99_rounding_control.hpp:63: (Each undeclared
identifier is reported only once for each function it appears in.)
In file included from ../boost/boost/interval.hpp:1151,
../boost/boost/detail/interval_transc.hpp: At global scope:
../boost/boost/detail/interval_transc.hpp:77: `asinh' not declared
../boost/boost/detail/interval_transc.hpp:78: `acosh' not declared
../boost/boost/detail/interval_transc.hpp:79: `atanh' not declared
Have I missed any options ?
I compiled with
> g++ -I ../boost interval_test.cpp
I also tried the options mentioned in the interval_speed.html files, without improvements.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk