|
Boost Users : |
Subject: Re: [Boost-users] Boost 1.45 compile error
From: Brodie Thiesfield (brofield2_at_[hidden])
Date: 2010-11-20 23:20:08
Hi,
I'm getting the same error while building signals with boost 1.45.0
using VC 2003 + SP1. Are there any hotfixes that are required?
Parts of the build log included below...
Regards,
Brodie
.\bjam variant=debug threading=multi link=shared runtime-link=shared
-j2 toolset=msvc-7.1 -sNO_BZIP2=1 -sNO_ZLIB=1
-sICU_PATH=d:\src\vendor\icu_4.4.2_HEAD\msvc-7.1 --with-date_time
--with-filesystem --with-iostreams --with-regex --with-serialization
--with-signals --with-system --with-thread
Building the Boost C++ Libraries.
Performing configuration checks
- has_icu builds : yes
Component configuration:
- date_time : building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : building
- math : not building
- mpi : not building
- program_options : not building
- python : not building
- random : not building
- regex : building
- serialization : building
- signals : building
- system : building
- test : not building
- thread : building
- wave : not building
common.mkdir bin.v2\libs\signals\build\msvc-7.1
common.mkdir bin.v2\libs\signals\build\msvc-7.1\debug
common.mkdir bin.v2\libs\signals\build\msvc-7.1\debug\threading-multi
compile-c-c++ bin.v2\libs\signals\build\msvc-7.1\debug\threading-multi\trackable.obj
trackable.cpp
boost\typeof\msvc\typeof_impl.hpp(160) : error C2027: use of undefined
type '<Unknown>'
boost\typeof\msvc\typeof_impl.hpp(143) : see declaration of '<Unknown>'
boost\typeof\msvc\typeof_impl.hpp(160) : see reference to
class template instantiation '<Unknown>' being compiled
boost\type_traits\common_type.hpp(121) : see reference to
class template instantiation '<Unknown>' being compiled
boost\type_traits\common_type.hpp(123) : see reference to
class template instantiation
'boost::type_traits_detail::common_type_2<T,U
>' being compiled
boost\typeof\msvc\typeof_impl.hpp(160) : error C2146: syntax error :
missing ';' before identifier 'wrapped_type'
boost\typeof\msvc\typeof_impl.hpp(160) : error C2501: '<Unknown>' :
missing storage-class or type specifiers
boost\typeof\msvc\typeof_impl.hpp(161) : error C2653: 'wrapped_type' :
is not a class or namespace name
On Sat, Nov 20, 2010 at 12:14 PM, Eric Niebler <eric_at_[hidden]> wrote:
> (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-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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