Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost and intel compiler
From: Daniel James (dnljms_at_[hidden])
Date: 2011-04-13 14:35:31

On 13 April 2011 19:16, Bo Jensen <jensen.bo_at_[hidden]> wrote:
> On Wed, Apr 13, 2011 at 8:00 PM, Daniel James <dnljms_at_[hidden]> wrote:
>> On 11 April 2011 16:09, Bo Jensen <jensen.bo_at_[hidden]> wrote:
>>> Just to list one error I get on linux 32 with intel 11.1 and gcc 4.3 :
>>> intel-linux.compile.c++
>>> bin/intel-linux/release/address-model-32/link-static/threading-multi/model.o
>>> ../../../external/boost/boost/intrusive/intrusive_fwd.hpp(63): error:
>>> expected an identifier
>>>  template<class T, class ...Options>
>>>                          ^
>> That's probably a problem in the library, rather than the build
>> system. It should probably use Boost.Config rather than it's own
>> configuration logic.
> Thanks for the reply. I guess it's out of my knowledge area, so you
> say the intrusive library should use Boost.Config, which would solve
> the problem right ? So I guess I get nothing out of going the long
> support road at intel then..
> I just see many of these errors in different libraries. I saw some
> advice on intel support forums, where similar problems were solved by
> setting some gcc compiler defines, so I assumed intel were configured
> incorrectly.

Well, the problem is that this header thinks you have support for
variadic templates, when you don't:

If you can change the gcc defines so that it doesn't that might fix
it. But the best thing to do is write a ticket for intrusive to get
this fixed properly.

> On windows it does not compile at all with intel 11.1, which is a
> surprise to me.

I don't think we have any tests running on the windows version.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at