Boost C++ Libraries: Ticket #13332: Boost 1.65.1 seems to be missing boost graph fixes from 1.64 https://svn.boost.org/trac10/ticket/13332 <p> I am getting compile errors using VS2017 in boost 1.65.1 </p> <p> boost\graph\named_function_params.hpp </p> <pre class="wiki">template &lt;class Tag, typename Args&gt; inline const typename lookup_named_param_def&lt;Tag, Args, param_not_found&gt;::type&amp; get_param(const Args&amp; p, Tag) { return lookup_named_param_def&lt;Tag, Args, param_not_found&gt;::get(p, param_not_found()); } </pre><p> This was fixed in 1.64 apparently. </p> <p> #if _MSC_VER &gt;=1900 #pragma warning( push ) #pragma warning( disable : 4172 ) #endif template &lt;class Tag, typename Args&gt; inline const typename lookup_named_param_def&lt;Tag, Args, param_not_found&gt;::type&amp; </p> <blockquote> <p> get_param(const Args&amp; p, Tag) { </p> </blockquote> <p> return lookup_named_param_def&lt;Tag, Args, param_not_found&gt;::get(p, param_not_found()); } #if _MSC_VER &gt;= 1900 #pragma warning( pop ) #endif </p> <p> I found another example of this: </p> <pre class="wiki">explicit two_bit_color_map(std::size_t n, const IndexMap&amp; index = IndexMap()) : n(n), index(index), data(new unsigned char[(n + elements_per_char - 1) / elements_per_char]) { // Fill to white std::fill(data.get(), data.get() + (n + elements_per_char - 1) / elements_per_char, 0); } </pre><p> in this case the int 0 being passed to std::fill needs to be casted to a char to compile. Also fixed in 1.64. Has something gone wrong here in the 1.65.1 release? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13332 Trac 1.4.3 anonymous Fri, 08 Dec 2017 12:23:05 GMT <link>https://svn.boost.org/trac10/ticket/13332#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13332#comment:1</guid> <description> <p> Note the first error gives a compile error due to the temporary that is passed in and returned from the get() function. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 08 Dec 2017 23:43:00 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/13332#comment:2 https://svn.boost.org/trac10/ticket/13332#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jeremiah Willcock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">graph</span> </li> </ul> Ticket nathan.cook@… Thu, 10 May 2018 14:17:11 GMT <link>https://svn.boost.org/trac10/ticket/13332#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13332#comment:3</guid> <description> <p> This is the case in Boost 1.67 too, compiling with VS 2017 15.5.6 boost\boost/type_traits/has_minus.hpp boost\boost/type_traits/has_minus_assign.hpp boost\boost/type_traits/has_plus_assign.hpp </p> <p> yields: "warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop) compiling ..." </p> <p> I'll raise an issue on Github I guess? </p> </description> <category>Ticket</category> </item> </channel> </rss>