|
Boost Users : |
Subject: [Boost-users] Boost.MultiIndex Solaris compatibility
From: Andre.TERROUX_at_[hidden]
Date: 2010-04-15 06:46:50
Hello,
boost/multi_index/indexed_by.hpp does not compile on my SunOS 5.10
system.
CC version:
CC: Sun C++ 5.10 SunOS_i386 2009/06/03
Compiling this test program using boost 1.42:
#include <boost/multi_index/indexed_by.hpp>
main()
{
}
Reports the following errors:
"/sr/gldev/shrdlibs/boostlibs/1.42.0/boost/multi_index/indexed_by.hpp",
line 56: Error: Type name expected instead of "BOOST_PP_ENUM_1".
"/sr/gldev/shrdlibs/boostlibs/1.42.0/boost/multi_index/indexed_by.hpp",
line 58: Error: Expected "class" or "typename" before
"BOOST_MULTI_INDEX_INDEXED_BY_TEMPLATE_PARM" .
"/sr/gldev/shrdlibs/boostlibs/1.42.0/boost/multi_index/indexed_by.hpp",
line 58: Error: Type name expected instead of "T".
3 Error(s) detected.
Is Boost.MultiIndex Solaris compatible? Am I missing something?
I read the following about multi_index on boost.org:
No problems have been detected with this platform. Last tested for
compiler version Sun C++ 5.10 (Sun Studio 12 Update 1). The option
-library=stlport4 was used to replace the default standard library with
STLport.
I tried with the -library=stlport4 but same errors.
Thank you,
Andre
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net