Opened 8 years ago

Closed 7 years ago

#11022 closed Patches (fixed)

fix the macro BOOST_PREDEF_MAKE_YYYYMM(V)

Reported by: rick68@… Owned by: René Rivera
Milestone: To Be Determined Component: predef USE GITHUB
Version: Boost 1.57.0 Severity: Problem
Keywords: BOOST_PREDEF_MAKE_YYYYMM Cc:

Description

--- 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 @@

/* BOOST_PREDEF_MAKE_YYYY(V)` */ #define BOOST_PREDEF_MAKE_YYYY(V) BOOST_PREDEF_MAKE_DATE(V,1,1) /* BOOST_PREDEF_MAKE_YYYYMM(V)` */

-#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)

#endif

Attachments (1)

BOOST_PREDEF_MAKE_YYYMM.diff (446 bytes ) - added by rick68@… 8 years ago.

Download all attachments as: .zip

Change History (2)

by rick68@…, 8 years ago

comment:1 by René Rivera, 7 years ago

Resolution: fixed
Status: newclosed

Thanks for finding this.

Note: See TracTickets for help on using tickets.