Boost C++ Libraries: Ticket #9199: Fail to build under Visual Studio 2013 RC since revision 86107 https://svn.boost.org/trac10/ticket/9199 <p> From revision 86107, boost cannot be built under Visual Studio 2013 RC. For example, by entering the command line to build 'test': </p> <pre class="wiki">bjam stage --with-test </pre><p> The following error message is returned: </p> <pre class="wiki">unit_test_parameters.cpp D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(42) : err or C2065: 'ReadableIterator' : undeclared identifier D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(42) : err or C2065: 'Iterator' : undeclared identifier D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(43) : err or C2448: 'BOOST_concept' : function-style initializer appears to be a function definition D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(43) : err or C2143: syntax error : missing ';' before ':' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(43) : err or C2065: 'Iterator' : undeclared identifier D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(43) : err or C2923: 'boost::Assignable' : 'Iterator' is not a valid template type argument for parameter 'TT' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(44) : err or C2143: syntax error : missing ';' before ',' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(44) : err or C2059: syntax error : ',' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(44) : err or C2065: 'Iterator' : undeclared identifier D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(44) : err or C2923: 'boost::CopyConstructible' : 'Iterator' is not a valid template type a rgument for parameter 'TT' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(46) : err or C2143: syntax error : missing ';' before '{' D:\Documents\Libraries\boost_repo\boost/iterator/iterator_concepts.hpp(46) : err or C2447: '{' : missing function header (old-style formal list?) ... </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9199 Trac 1.4.3 forwiss@… Fri, 04 Oct 2013 17:02:35 GMT <link>https://svn.boost.org/trac10/ticket/9199#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:1</guid> <description> <p> same here. I's trying to build date_time. Sure enough, reverting to rev 86106 worked. What really amazes me: in rev 86107 the same code lines as in rev 86106 are active for cl12rc. </p> <p> I got down to modifying the essential lines in file </p> <blockquote> <p> boost-trunk\boost\concept\detail\concept_def.hpp </p> </blockquote> <p> to </p> <pre class="wiki"> #if 1 #define BOOST_concept(blah) \ ... #endif </pre><p> I may also replace the #if 1 and do this and cl12rc still did the build: </p> <pre class="wiki"> // #if 1 #pragma message("dude, this message line fixes build for cl12rc!?") #define BOOST_concept(blah) \ ... // #endif </pre><p> But as soon as I had neither of those preprocessor commands beforehand the #define BOOST_concept, cl12rc reported the same compile errors mentioned in the first posting. </p> <p> My evaluation time for VS2013RC has expired some time ago, but cl12rc still works when called from cmd, e.g. by bjam. I sense, there might be a bug in the preprocessor of cl12rc, not necessarily a bug in the boost src file "concept_def.hpp" </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 09 Oct 2013 23:56:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9199#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:2</guid> <description> <p> It works, Thanks </p> </description> <category>Ticket</category> </item> <item> <author>yaoyuan1216@…</author> <pubDate>Thu, 10 Oct 2013 07:41:31 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9199#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:3</guid> <description> <p> Works. </p> </description> <category>Ticket</category> </item> <item> <author>matthewaveryusa@…</author> <pubDate>Fri, 11 Oct 2013 15:19:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9199#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:4</guid> <description> <p> ticket submitted to MSVC in case it's a preprocessor bug on MSVC connect's website, id# 804975 </p> </description> <category>Ticket</category> </item> <item> <author>acharles <acharles@…></author> <pubDate>Tue, 18 Feb 2014 11:05:55 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9199#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:5</guid> <description> <p> This no longer reproduces with this version of 2013: </p> <p> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86 </p> </description> <category>Ticket</category> </item> <item> <author>acharles <acharles@…></author> <pubDate>Tue, 18 Feb 2014 11:06:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9199#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9199#comment:6</guid> <description> <p> Note, it doesn't reproduce with the develop branch of Boost. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>acharles</dc:creator> <pubDate>Tue, 18 Feb 2014 11:59:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9199#comment:7 https://svn.boost.org/trac10/ticket/9199#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> Ticket