Boost logo

Boost :

Subject: Re: [boost] [1.40.0] Compilation errors in Visual Studio
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-09-08 20:49:10


On Mon, Sep 7, 2009 at 5:12 PM, Adam Badura<abadura_at_[hidden]> wrote:
>   I experienced compilation problems with Boost 1.40. I am using Visual
> Studio 2005 and 2008. On both Boost compiles and links fine but is unusable
> in other code due to compilation errors. Currently I have access to errors
> produced on 2008 and it would be troublesome to get errors for 2005 (but if
> needed I will do it) - however the are the same (as to the message):
>
> 1>d:\libraries\boost_1_40_0\boost\integer_fwd.hpp(70) : error C2039:
> 'long_long_type' : is not a member of 'boost'
> 1>d:\libraries\boost_1_40_0\boost\integer_fwd.hpp(70) : error C2065:
> 'long_long_type' : undeclared identifier
> 1>d:\libraries\boost_1_40_0\boost\integer_fwd.hpp(70) : error C2913:
> explicit specialization; 'boost::integer_traits' is not a specialization of
> a class template
> 1>d:\libraries\boost_1_40_0\boost\integer_fwd.hpp(73) : error C2913:
> explicit specialization; 'boost::integer_traits' is not a specialization of
> a class template
>
> and so on... It is hard for me to tell which header causes the error but if
> requested I will look for this.

It migh help if you could identify which Boost library is causing the
problem, and then post an error report with specifics, beginning the
subject line with the library name in square brackets. Take a lot at
other similar postings.

Thanks,

--Beman


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