Boost C++ Libraries: Ticket #3629: #warning in BGL compressed_sparse_row_graph.hpp causes MSVC compile error https://svn.boost.org/trac10/ticket/3629 <p> The check for the BOOST_GRAPH_USE_NEW_CSR_INTERFACE macro in boost/graph/compressed_sparse_row_graph.hpp line 50-55 uses "#warning" to issue a compiler warning. This is not portable and causes a compile error on MSVC ("fatal error C1021: invalid preprocessor command 'warning'"). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3629 Trac 1.4.3 Jeremiah Willcock Tue, 24 Nov 2009 16:33:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3629#comment:1 https://svn.boost.org/trac10/ticket/3629#comment:1 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57892" title="Changed warning syntax for VC++; fixes #3629">[57892]</a>) Changed warning syntax for VC++; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3629" title="#3629: Bugs: #warning in BGL compressed_sparse_row_graph.hpp causes MSVC compile error (closed: fixed)">#3629</a> </p> Ticket