I have a trivial C++ test program which uses boost::property_tree library:// boost-property-tree.cpp ///////////////////////////////////////////////#include <boost/test/unit_test.hpp>#include <sstream>#include <boost/property_tree/xml_parser.hpp>BOOST_AUTO_TEST_SUITE(InternalCompilerErrorOnPropertyTreeTest)BOOST_AUTO_TEST_CASE(test1){ std::ostringstream oss; boost::property_tree::ptree t; boost::property_tree::xml_parser::write_xml(oss, t);}BOOST_AUTO_TEST_CASE(test2){ std::ostringstream oss; boost::property_tree::ptree t; boost::property_tree::xml_parser::write_xml(oss, t);}BOOST_AUTO_TEST_SUITE_END()/////////////////////////////////////////////////////////////////////////////////Every time I try to compile it, cl.exe throws the following error:fatal error C1001: An internal error has occurred in the compiler.Here is complete cl.exe output produced inside Developer Command Prompt session://///////////////////////////////////////////////////////////////////////////////C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>d:D:\>cd workshop\boost\boost-property-treeD:\workshop\boost\boost-property-tree>cl.exe /EHsc /ID:\dev\boost\_svn\trunk boost-property-tree.cppMicrosoft (R) 32-bit C/C++ Optimizing Compiler Version 17.00.40825.2 for 80x86Copyright (C) Microsoft Corporation. All rights reserved.boost-property-tree.cppD:\dev\boost\_svn\trunk\boost/property_tree/xml_parser.hpp(106) : fatal error C1001: An internal error has occurred in the compiler.(compiler file 'msc1.cpp', line 1435) To work around this problem, try simplifying or changing the program near the locations listed above.Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more informationInternal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe. You will be prompted to send an error report to Microsoft later.INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe' Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more informationD:\workshop\boost\boost-property-tree>/////////////////////////////////////////////////////////////////////////////////I use boost::property_tree from current trunk in Boost subversion repository, so the reported file D:\dev\boost\_svn\trunk\boost/property_tree/xml_parser.hpp comes from the current trunk at https://svn.boost.org/svn/boost/trunk/I have not tested with any other Boost version.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...