Boost logo

Boost :

Subject: Re: [boost] VC2013 1.55 beta failures
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-10-18 11:43:48

I installed VS2013, compiled boost trunk r86347 (no apparent errors but I
didn't do a full log check)
I found a compiler crash if you do (full repro case):

#include <boost/thread/synchronized_value.hpp>
#include <boost/property_tree/ptree.hpp>

boost::synchronized_value<boost::property_tree::ptree> tree;

That's the whole code of the file.
Which triggers:

1> config.cpp
fatal error C1001: An internal error has occurred in the compiler.
1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\types.c', line
1> To work around this problem, try simplifying or changing the program
near the locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
: see reference to class template instantiation
'boost::synchronized_value<boost::property_tree::ptree,boost::mutex>' being
Build has been canceled.

It might be related to a compiler crash I reported there:

I'm not sure if it would be a good idea to make this a test.
I'll replace this code by a separate mutex and will report if I find other

Note that I didn't have this problem with a previous boost trunk release
from july (can't find the specific revision right now), compiled with the
I got VS2013 RTM I compiled my project with boost trunk from july compiled
by the RC, it worked as before, so I don't know if the change was in boost
or the compiler or both.

Boost list run by bdawes at, gregod at, cpdaniel at, john at