Boost logo

Boost :

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2004-11-23 10:52:55


John Maddock wrote:

> I believe we are assuming that your platform has an <inttypes.h>
> header (our test machines for that platform do so), if yours does not
> then you may need to stop BOOST_HAS_STDINT_H from getting defined, I
> believe this will be either in boost/config/suffix.hpp:
>
> # if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
> # define BOOST_HAS_STDINT_H
> # endif
>
> or in boost/config/posix_features.hpp:
>
> // POSIX version 6 requires <stdint.h>
> # if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 200100)
> # define BOOST_HAS_STDINT_H
> # endif

Thanks for the suggestion. It turns out that neither of these defines
BOOST_HAS_STDINT_H, because __STDC_VERSION__ is not defined, and
_POSIX_VERSION is 199506.

Also, boost/cstdint.hpp:85 is a #elif that ends the '#ifdef
BOOST_HAS_STDINT_H' block, proving that BOOST_HAS_STDINT_H was not
defined. So I will just take Markus's suggestion to remove the __osf__
part of the test for my system.

I'll let you guys figure out whether you want to support old versions of
Tru64 Unix like mine.

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk