Boost C++ Libraries: Ticket #13058: errors.hpp in Boost Test requires warning C4946 to be off https://svn.boost.org/trac10/ticket/13058 <p> Hi all, when compiling the Boost Test library with MSVC 2015 and warning C4946 (reinterpret_cast between related types) set as an error, the build fails. The specific_param_error class uses reinterpret_cast in its operator functions (lines 89 and 99 in errors.hpp). </p> <p> I am aware that this warning is off by default but at least suppress_warnings.hpp should list this warning. Also, a comment in the source why a reinterpret_cast was necessary in the first place, would be helpful. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13058 Trac 1.4.3 Raffi Enficiaud Mon, 19 Jun 2017 08:54:22 GMT <link>https://svn.boost.org/trac10/ticket/13058#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13058#comment:1</guid> <description> <p> Hi, </p> <p> Does the code works as expected if you modify the <code>reinterpret_cast</code> to a <code>static_cast</code> ? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Mon, 17 Jul 2017 07:48:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13058#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13058#comment:2</guid> <description> <p> Any updates? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Sun, 11 Feb 2018 18:06:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13058#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13058#comment:3</guid> <description> <p> Kind reminder </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Sun, 11 Feb 2018 19:21:24 GMT</pubDate> <title>owner, status, milestone changed https://svn.boost.org/trac10/ticket/13058#comment:4 https://svn.boost.org/trac10/ticket/13058#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.67.0</span> </li> </ul> Ticket Raffi Enficiaud Wed, 14 Feb 2018 09:37:49 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13058#comment:5 https://svn.boost.org/trac10/ticket/13058#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> In master </p> Ticket