Boost C++ Libraries: Ticket #2724: extended_type_info_arg constructor calls base constructor with wrong argument https://svn.boost.org/trac10/ticket/2724 <p> In the file libs/serialization/src/extended_type_info.cpp, the constructor for the class extended_type_info_arg calls the base class constructor extended_type_info with an argument of NULL. The extended_type_info constructor takes an unsigned int argument, and NULL is not necessarily an unsigned int or even convertible to such. (See C.2.2.3 of C++98 standard.) Changing the argument to a constant 0 (or a named constant with that value) fixes the local problem, and doesn't conflict with either of the other existing classes derived from extended_type_info. </p> <p> I noticed this problem in 1.38beta2, due to a warning on one of the platforms I'm using, but it looks like it's been this way "forever". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2724 Trac 1.4.3 Robert Ramey Wed, 04 Feb 2009 18:58:02 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/2724#comment:1 https://svn.boost.org/trac10/ticket/2724#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> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> Ticket