Boost C++ Libraries: Ticket #12226: Microsoft compiler bug with boost::spirit::traits::absolute_value https://svn.boost.org/trac10/ticket/12226 <p> Microsoft optimizing compiler (19.00.23918 for x86 from Visual studio 2015) removes code of boost::spirit::traits::absolute_value::call for int, long and boost::long_long_type, and absolute_value&lt;int&gt;::call((int)-1) returns 4294967295 instead of 1. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12226 Trac 1.4.3 Sergey Polsky <fatman@…> Tue, 24 May 2016 14:11:49 GMT attachment set https://svn.boost.org/trac10/ticket/12226 https://svn.boost.org/trac10/ticket/12226 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">BoostTest.zip</span> </li> </ul> <p> Example of code, build configuration: Release x86 </p> Ticket Sergey Polsky <fatman@…> Tue, 24 May 2016 14:13:11 GMT attachment set https://svn.boost.org/trac10/ticket/12226 https://svn.boost.org/trac10/ticket/12226 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix.diff</span> </li> </ul> <p> Possible solution </p> Ticket Joel de Guzman Tue, 24 May 2016 14:46:27 GMT <link>https://svn.boost.org/trac10/ticket/12226#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12226#comment:1</guid> <description> <p> This is already fixed in devel </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Tue, 24 May 2016 14:47:00 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12226#comment:2 https://svn.boost.org/trac10/ticket/12226#comment:2 <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> Ticket