Boost logo

Boost :

Subject: Re: [boost] VC2013 1.55 beta failures
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2013-10-16 14:23:39


On 16 Oct 2013 at 20:13, Domagoj Saric wrote:

> On 16.10.2013. 19:59, Stephan T. Lavavej wrote:
> > [Christian Hägele]
> >> The compile failure in trunk is a different issue, this seems to be
> >> a bug in VC2013 RC that has already been reported on Microsoft Connect
> >> several times.
> >
> > Which bug?
>
> Already reported several times...
> https://connect.microsoft.com/VisualStudio/feedback/details/805028/vs2013-rc-fails-to-compile-boost-v1-55-beta-1
> ...supposedly this was already forwarded to your front end team...try to
> provide at least a workaround before 1.55 ships (as I suppose it is too
> late for MSVC12 RTM)...

I have discovered a workaround for the bug.

In the header file which #defines BOOST_concept, after the #define
do:

#ifndef BOOST_concept
#error foo
#endif

This seems to "lock in" the macro definition of BOOST_concept into
the compiland. Definitely a compiler preprocessor bug this.

Niall

-- 
Currently unemployed and looking for work.
Work Portfolio: http://careers.stackoverflow.com/nialldouglas/



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