|
Boost : |
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2004-11-24 09:41:59
Markus Schöpflin wrote:
> I have been grepping around a little on my 5.1 system and the right
> check for inttypes.h on this OS seems to be
>
> #if defined (_XOPEN_SOURCE) && (_XOPEN_SOURCE>=500)
> #include <inttypes.h>
> #endif
FYI: on my system _XOPEN_SOURCE is defined but has no value:
cxx: Error: tests/Test2.cc, line 248: #29 expected an expression
cout << "_XOPEN_SOURCE = " << _XOPEN_SOURCE << endl;
----------------------------------------------------^
> Unfortunately I don't have access to the Open Group Base Specification
> Issue 5 which could tell me what exactly is promised to be present in
> that header.
>
> The current Issue 6 is aligned with ISO/IEC 9899:1999 and gives us all
> we need, but of course we already have stdint.h on such a system.
> ...
-- 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