On Sat, Apr 7, 2012 at 6:43 AM, Nico Schlömer <nico.schloemer@gmail.com> wrote:
Hi all,

has anyone succeeded in compiling Boost with the Cray C++ compiler?
I'm using Boost 1.47.0 and get error messages of the type

====================== *snip* ======================
CC-439 crayc++: ERROR File =
/usr/common/usg/boost/1.47.0/include/boost/type_traits/is_rvalue_reference.hpp,
Line = 21
 A greater-than character (">") is expected.

 BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_1(typename
T,is_rvalue_reference,T&&,true)
 ^
====================== *snap* ======================

and

====================== *snip* ======================
CC-40 crayc++: ERROR File =
/usr/common/usg/boost/1.47.0/include/boost/type_traits/add_rvalue_reference.hpp,
Line = 46
 An identifier is expected.

         typedef T&&   type;
                  ^
====================== *snap* ======================

All hints appreciated.

Looks like rvalue references may not be supported but this fact is not advertised by boost/config.hpp. Can you check this (compiling some dummy program with a "typedef int&& type;" declaration should suffice) and/or give more context to the above errors?

- Jeff