Boost logo

Boost :

From: Thomas Matelich (sosedada_at_[hidden])
Date: 2000-09-25 09:51:47

Since discussions are going on regarding stdint again, I wanted to re-bring up
that fact that HPUX has the basic stdint.h types defined in it. I will quote
my message from April regarding this subject in hopes that maybe someone will
think this worth dealing with.

I wrote:

     In porting some of my code to HP-UX 10.20, I discovered
     <sys/_inttypes.h>. This file appears to get included at some point
     limits.h or perhaps by the compiler (gcc 2.95.2). In any case,
     _inttypes has all the typedefs that would be in stdint.h. So I've
     the following code to config.hpp:

     // begin platform specific portion
     # if hpux
     # endif //HPUX

     // end of platform specific portion

     and changed boost/stdint.h like so:

     #include <stdint.h>

     #elif defined BOOST_SYSTEM_HAS__INTTYPES_H
     #include <sys/_inttypes.h>


     My other thought was that we could make a macro to represent the
     for the file with the typedefs we're looking for?

Thomas O Matelich
Senior Software Designer
Zetec, Inc.

Boost list run by bdawes at, gregod at, cpdaniel at, john at