
10 Dec
2009
10 Dec
'09
12:45 p.m.
Hi, ----- Original Message ----- From: "John Maddock" <john@johnmaddock.co.uk> To: <boost-users@lists.boost.org> Sent: Thursday, December 10, 2009 10:37 AM Subject: Re: [Boost-users] [integer]/cstdint.hpp How to use portableliterals?
You need to ensure that __STDC_CONSTANT_MACROS is defined *before any headers are #included* in order to use that macro.
Doesn't boost/cstdlib.hpp provide a way to define boost::intmax_t literals in a portable way?
It implements <cstdint> for better or worse,
How can a library ensure that __STDC_CONSTANT_MACROS is defined *before any headers are #included*? Best, Vicente