Boost C++ Libraries: Ticket #117: GCC fails w/lagged_fibonacci https://svn.boost.org/trac10/ticket/117 <pre class="wiki">In the following code, the default constructor of lagged_fibonacci fails: boost::lagged_fibonacci607 fgen(331 /*&lt;&lt;--*/); new boost::uniform_01&lt; boost::lagged_fibonacci607&gt;(fgen); GCC 3.2 seems to make fgen a symbol of the wrong type if the 331 (or whatever int) is omitted, although the default constructor should do exactly the same. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/117 Trac 1.4.3 jmaurer Tue, 08 Oct 2002 23:33:38 GMT status changed https://svn.boost.org/trac10/ticket/117#comment:1 https://svn.boost.org/trac10/ticket/117#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=53943 In the 1.29 release branch, the above problem could happen. Please make sure to use 331u to make it an unsigned type so that the compiler does not choose the wrong overloaded constructor. In the 1.30 branch, this should not happen any more at all, I believe. If this isn't conclusive, please attach the gcc error message. </pre> Ticket