Boost C++ Libraries: Ticket #8177: multiprecision, can convert from cpp_integer to void* https://svn.boost.org/trac10/ticket/8177 <p> MSVC 2010 is able to compile this: </p> <pre class="wiki"> #include &lt;boost/multiprecision/cpp_int.hpp&gt; using namespace boost::multiprecision; int main() { cpp_int a, b; void* p = a*b; return 0; } </pre><p> GCC 4.7.2 can not compile this code, but it can compile this: </p> <pre class="wiki"> #include &lt;boost/multiprecision/cpp_int.hpp&gt; using namespace boost::multiprecision; int main() { cpp_int a, b, c; void (*p)() = a*b; return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8177 Trac 1.4.3 John Maddock Tue, 26 Feb 2013 12:43:18 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8177#comment:1 https://svn.boost.org/trac10/ticket/8177#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/83162" title="Change boolean context conversion operator so it's not convertible to ...">[83162]</a>) Change boolean context conversion operator so it's not convertible to void*. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8177" title="#8177: Bugs: multiprecision, can convert from cpp_integer to void* (closed: fixed)">#8177</a>. </p> Ticket