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
#include
boost::synchronized_valueboost::property_tree::ptree tree;
That's the whole code of the file.
Which triggers:
1> config.cpp
1>e:\projects\sdk\boost\boost\include\boost-1_55\boost\thread\synchronized_value.hpp(401):
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
12852)
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
1>
e:\projects\games\netrush\netrush_projects\projects\netrush\system\core\config.cpp(151)
: see reference to class template instantiation
'boost::synchronized_valueboost::property_tree::ptree,boost::mutex' being
compiled
Build has been canceled.
It might be related to a compiler crash I reported there:
http://connect.microsoft.com/VisualStudio/feedback/details/802157/compiler-c...
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
problems.
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
RC.
Whttp://connect.microsoft.com/VisualStudio/feedback/details/802157/compiler-c...hen
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.