|
Boost Users : |
Subject: Re: [Boost-users] Cray C++ compiler errors
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-04-07 10:47:17
On Sat, Apr 7, 2012 at 6:43 AM, Nico Schlömer <nico.schloemer_at_[hidden]>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
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