Subject: [Boost-bugs] [Boost C++ Libraries] #9266: Synchronized_value crashes MSVC12 (VS2013)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-18 17:31:19
#9266: Synchronized_value crashes MSVC12 (VS2013)
-------------------------------------+----------------------
Reporter: mjklaim@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+----------------------
I got the crash using the following full code (using boost trunk r86347 ):
#include<boost/thread/synchronized_value.hpp>
boost::synchronized_value<int> foo;
Which produce the following error (ignore the file name, it contains
exactly the code above):
1> clock.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\clock.hpp(120)
: see reference to class template instantiation
'boost::synchronized_value<int,boost::mutex>' being compiled
Build has been canceled.
Note that I reported another problem similar in MSVC12 RC:
connect.microsoft.com/VisualStudio/feedback/details/802157/compiler-crash-
mixing-boost-synchronized-value-and-boost-property-tree
I'm not sure if it's related.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9266> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC