Boost logo

Boost Users :

Subject: Re: [Boost-users] [integer]/cstdint.hpp How to use portableliterals?
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-12-10 09:22:55


Compiler flag ;) gcc -D and in Project setting of VC ;)

On Thu, Dec 10, 2009 at 1:45 PM, vicente.botet <vicente.botet_at_[hidden]>wrote:

> Hi,
> ----- Original Message -----
> From: "John Maddock" <john_at_[hidden]>
> To: <boost-users_at_[hidden]>
> 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
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net