On Mon, Jun 13, 2011 at 3:55 PM, <boost-users-request@lists.boost.org> wrote:
Message: 6
Date: Mon, 13 Jun 2011 08:10:45 +0100
From: Bo Jensen <jensen.bo@gmail.com>
To: boost-users@lists.boost.org
Subject: [Boost-users] [chrono] Can not build with intel-win
Message-ID: <BANLkTim7efYQfM=FhFi9m5Q2i0g8L5XG5A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

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<Rep2,
                 ^

..\..\..\external\boost\boost/chrono/duration.hpp(124): error:
expected an expression
                 &&  (boost::is_convertible<Rep,
                 ^

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"

...failed compile-c-c++ bin\intel-win\release\threading-multi\pnet.obj...
...failed updating 1 target...


Any suggestions welcome.

Thanks
/Bo

Yes, I get this error too. The latest beta from Intel still exhibits this problem, but I currently do not have any insight on how to fix this. Perhaps you could create a bug report.

Edward