Boost logo

Boost :

Subject: Re: [boost] Boost 1.45 compile error
From: Eric Niebler (eric_at_[hidden])
Date: 2010-11-19 22:14:00


(bringing in boost dev...)

This sounds bad. Can anybody confirm?

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com
On 11/19/2010 4:35 PM, gast128 wrote:
> Hello all,
> 
> just tried out Boost 1.45 on VStudio 2003 but I got a compile error by only 
> including type_traits:
> 
> #include <boost/type_traits.hpp>
> 
> int main()
> {
>    return 0;
> }
> 
> C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(160) : error C2027: 
> use of undefined type '<Unknown>'
>         C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(143) : see 
> declaration of '<Unknown>'
>         C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(160) : see 
> reference to class template instantiation '<Unknown>' being compiled
>         C:\Work Sdk\boost_1_45_0\boost\type_traits\common_type.hpp(121) : see 
> reference to class template instantiation '<Unknown>' being compiled
>         C:\Work Sdk\boost_1_45_0\boost\type_traits\common_type.hpp(123) : see 
> reference to class template 
> instantiation 'boost::type_traits_detail::common_type_2<T,U>' being compiled
> C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(160) : error C2146: 
> syntax error : missing ';' before identifier 'wrapped_type'
> C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(160) : error 
> C2501: '<Unknown>' : missing storage-class or type specifiers
> C:\Work Sdk\boost_1_45_0\boost\typeof\msvc\typeof_impl.hpp(161) : error 
> C2653: 'wrapped_type' : is not a class or namespace name
> 
> afaik it seems located on 121 in 'boost/type_traits/coomon_type.hpp'
> 
> Anyone can help?

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk