|
Boost Users : |
Subject: Re: [Boost-users] [type_traits] typedef problem on Microware/Radisys OS9
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-11-20 20:51:17
On Fri, Nov 20, 2009 at 5:37 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Doug Crawford wrote:
>>
>> I am trying to port parts of boost to the Microware/Radisys OS9 platform.
>> Â This is really an old embedded systems C++ compiler that has not been
>> updated since about 1997. Â Anyways I can get shared_ptr to work and convert
>> between convertible types. Â But when I try to compile anything out of
>> type_traits library the compiler can't handle anything like:
>>
>> typedef typename se_t::template type<T> helper; (line 156 in is_enum.hpp)
>>
>> My compiler error is "expected an identifier" at ::template. Â I am
>> guessing that I am out of luck, but is there any way to rewrite or simplify
>> these kind of constructs?
>>
>
> I suspect that not much in Boost will work with such an old compiler.
> However, you can try replacing template with BOOST_NESTED_TEMPLATE.
Overall, it would probably be easier to write a new LLVM backend for
that architecture so llvm-gcc/Clang can compile directly to it then it
would be to ever try to get modern Boost working on a broken compiler.
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