When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT(
^
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
Please try compiling with -DBOOST_NO_INCLASS_MEMBER_INITIALIZATION and let me know if that helps. If that works, I'll know just what fix to make.
Alas, it still produces the same error message... --Steve
"Stephen Gross"
When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT(
^
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
Please try compiling with -DBOOST_NO_INCLASS_MEMBER_INITIALIZATION and let me know if that helps. If that works, I'll know just what fix to make.
Alas, it still produces the same error message...
I'm out of ideas at the moment; sorry. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Stephen Gross
When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT(
^
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
This is a shot in the dark, but why don't you try replacing BOOST_STATIC_CONSTANT( bool , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); with BOOST_STATIC_CONSTANT( int , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT( ^ "/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
This is a shot in the dark, but why don't you try replacing BOOST_STATIC_CONSTANT( bool , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); with BOOST_STATIC_CONSTANT( int , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); Replace it? Where? All I did was include a boost file, and this compile error was produced! --Steve
Stephen Gross wrote:
When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT( ^ "/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
This is a shot in the dark, but why don't you try replacing
BOOST_STATIC_CONSTANT( bool , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 );
with
BOOST_STATIC_CONSTANT( int , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 );
Replace it? Where?
in boost/detail/is_incrementable.hpp
All I did was include a boost file, and this compile error was produced!
--Steve
Jonathan
participants (4)
-
David Abrahams
-
Joaquin M Lopez Munoz
-
Jonathan Turkanis
-
Stephen Gross