From: Jeff Garland (jeff_at_[hidden])
Date: 2003-10-31 01:48:00
On Thu, 30 Oct 2003 16:07:57 -0500, Lapshin, Kirill wrote
> On CygWin GCC 3.3.1 date_time library compiles with many stdint related
> warnings. Offending code is in
> boost/date_time/posix_time/posix_time_config.hpp, here is the snippet:
> //force the definition of INT64_C macro used in
> #ifndef __STDC_CONSTANT_MACROS
> #define __STDC_CONSTANT_MACROS
> # if __GNUC__ >= 2
> # undef BOOST_HAS_STDINT_H
> # endif
> #include "boost/cstdint.hpp"
> Undefining BOOST_HAS_STDINT_H leads to numerous macros redefinition warnings
> (essentially macros defined in stdint, are redefined in
I believe this is here from gcc2.95 compatibility. Perhaps the conditional
should be == instead of >= ?
> This behavior observed on latest CVS. On 1.30.02 situation is even
> worth - library fails to compile because there is no boost::uint32_t
> type defined
> (the error triggered in microsec_time_clock.hpp).
Well at least things are headed in the right direction ;-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk