Boost C++ Libraries: Ticket #11022: fix the macro BOOST_PREDEF_MAKE_YYYYMM(V) https://svn.boost.org/trac10/ticket/11022 <p> --- boost/predef/make.h.orig 2014-07-10 21:53:53.000000000 +0800 +++ boost/predef/make.h 2015-02-14 01:37:34.124972456 +0800 @@ -82,6 +82,6 @@ </p> <blockquote> <p> /*<code> </code>BOOST_PREDEF_MAKE_YYYY(V)` */ #define BOOST_PREDEF_MAKE_YYYY(V) BOOST_PREDEF_MAKE_DATE(V,1,1) /*<code> </code>BOOST_PREDEF_MAKE_YYYYMM(V)` */ </p> </blockquote> <p> -#define BOOST_PREDEF_MAKE_YYYYMM(V) BOOST_PREDEF_MAKE_DATE((V)/100,(V),1) +#define BOOST_PREDEF_MAKE_YYYYMM(V) BOOST_PREDEF_MAKE_DATE((V)/100,(V)%100,1) </p> <blockquote> <p> #endif </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11022 Trac 1.4.3 rick68@… Fri, 13 Feb 2015 17:51:20 GMT attachment set https://svn.boost.org/trac10/ticket/11022 https://svn.boost.org/trac10/ticket/11022 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">BOOST_PREDEF_MAKE_YYYMM.diff</span> </li> </ul> Ticket René Rivera Mon, 18 May 2015 16:07:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11022#comment:1 https://svn.boost.org/trac10/ticket/11022#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> Thanks for finding this. </p> Ticket