Boost C++ Libraries: Ticket #1289: posix_time::time_facet forgets to pass a_ref argument to base class https://svn.boost.org/trac10/ticket/1289 <p> The default constructor of posix_time::time_facet (with one default argument) forgets to pass that argument value (a_ref) to its base class, date_facet. That one in turn correctly passes that value to std::locale::facet. This bug is present in 1.33.1, 1.34.1, and even SVN, where "cepstein" recently commented out that argument in SVN <a class="changeset" href="https://svn.boost.org/trac10/changeset/39274" title="Quiet unused argument warnings from gcc. ">r39274</a>, but that is the wrong fix. Instead, that argument must be passed to the base class because std::locale::facet indeed uses that value. </p> <p> A patch against 1.34.1 will be attached. If you want to patch this against SVN, first revert <a class="changeset" href="https://svn.boost.org/trac10/changeset/39274" title="Quiet unused argument warnings from gcc. ">r39274</a> in the file time_facet.hpp, then apply the patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1289 Trac 1.4.3 stimming@… Thu, 27 Sep 2007 15:21:32 GMT attachment set https://svn.boost.org/trac10/ticket/1289 https://svn.boost.org/trac10/ticket/1289 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">a.diff</span> </li> </ul> <p> Patch for boost/date_time/time_facet.hpp to fix missed argument passing </p> Ticket Andrey Semashev Thu, 13 Nov 2008 17:46:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1289#comment:1 https://svn.boost.org/trac10/ticket/1289#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> Ticket