Hello,
I'm trying to build openvrml 0.15.10 which uses the Boost library.
However, I get the following error message:
/usr/include/boost/numeric/conversion/detail/converter.hpp:233: error: expected unqualified-id before numeric constant
/usr/include/boost/numeric/conversion/detail/converter.hpp:238: error: type/value mismatch at argument 6 in template parameter list for 'template struct boost::numeric::convdetail::for_both'
/usr/include/boost/numeric/conversion/detail/converter.hpp:238: error: expected a type, got '0l'
/usr/include/boost/numeric/conversion/detail/converter.hpp:238: error: 'type' does not name a type
which appears to be a problem with the header file. I'm using Linux with
gcc 4.0.2.
The problematic code from converter.hpp is :
template
struct combine
{
typedef applyBoth Both ;
typedef void None ; //LINE 233
typedef typename PredA::do_apply do_applyA ;
typedef typename PredB::do_apply do_applyB ;
typedef typename for_both::type type ; //LINE 238
} ;
Can anyone confirm that there is indeed a problem with the converter.hpp
header file? If so, how could it be fixed?
Thanks.
Regard,
Eric Belanger
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.