|
Boost : |
Subject: Re: [boost] workarounf for missing uintptr_t on PGI?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-03-08 07:05:27
> On Thu, Mar 08, 2012 at 11:08:51AM +0100, Oliver Kowalke wrote:
> > the file reporting the error includes <boost/cstdint.hpp> which includes
> <stdint.h> - ?
>
> You have yet to mention what you're trying to compile, nor have provided
> any testcase that demonstrates the problem.
I'm referring to:
http://www.boost.org/development/tests/trunk/developer/output/Sandia-pgi-11-9-boost-bin-v2-libs-context-test-test_context-test-pgi-11-9-debug-link-static.html
> > > Relying on their presence seems a bit shaky.
> >
> > a compuation requires an integer large enought to contain an address -
> inptr_t/uinptr_t a the choice for this purpose
>
> In any way, it seems like boost/config/compiler/pgi.hpp does not define
> BOOST_HAS_STDINT_H, and thus, boost/cstdint.hpp doesn't try to include
> stdint.h. Assuming that this is the place to define it, file a bug
> against Boost.Config.
>
> Note that the documentation for boost/cstdint.hpp does _not_ mention
> uintptr_t or intptr_t at all, and thus, relying on it to pull them in by
> proxy is a fault. It doesn't guarantee any inclusion of a stdint.h
> either, as that's impossible to guarantee as not all platforms have one.
>
> If you think that it's boost/cstdint.hpp:s responsibility to define such
> a type, file a bug against it.
maybe it is its the responsibility of cstdint or which place would you preferre instead?
some other boost libs define their own uintptr_t etc. - boost should concentrate such typedefs in on boost lib.
-- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk