Boost logo

Boost Users :

Subject: Re: [Boost-users] [chrono] Can not build with intel-win
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-07-02 18:39:41


Edward Rankin wrote:
>
>> > Message du 13/06/11 09:12
>> > De : "Bo Jensen"
>> > A : boost-users <at> lists.boost.org
>> > Copie à :
>> > Objet : [Boost-users] [chrono] Can not build with intel-win
>> >
>> > Newest intel C++ release and vs2010, can not build with chrono from
>> trunk.
>> >
>> > I get :
>> >
>> > pnet.cpp
>> > ..\..\..\external\boost\boost/chrono/duration.hpp(94): error: expected
>> > an expression
>> > && (boost::is_convertible ^
>> >
>> > ..\..\..\external\boost\boost/chrono/duration.hpp(124): error:
>> > expected an expression
>> > && (boost::is_convertible ^
>> >
>> > compilation aborted for ..\network\pnet.cpp (code 2)
>> >
>> > call "C:\Program Files
>> > (x86)\Intel\ComposerXE-2011\bin\intel64//iclvars.bat" > nul
>> > icl @"bin\intel-win\release\threading-multi\pnet.obj.rsp"
>> >
>> > Any suggestions welcome.
>>
>> Hi,
>>
>> I have no idea of what could be the cause of the error.
>>
>> Please could you try adding the namespace boost to common_type and send
>> me the preprocesed output.
>>
>> Thanks,
>> Vicente
>>
>>
> Hi,
>
> I tried adding the namespace boost to common_type on L93,L95,L123 and L125
> but the exact same error appears. Any other ideas?
>
>

Hi,

It seems that this compiler version doesn't likes the default bool template
initialization with &&.

Could you try if naming the parameter change something?
If not could you try to move the default initialization of bool at the
template instantiation (line 110)?

Hoping this time is better,
Vicente

--
View this message in context: http://boost.2283326.n4.nabble.com/Re-chrono-Can-not-build-with-intel-win-tp3637736p3641235.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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