Boost C++ Libraries: Ticket #6724: missing BOOST_HAS_STDINT_H for PGI https://svn.boost.org/trac10/ticket/6724 <p> file boost/config/compilers/pgi.h does not define BOOST_HAS_STDINT_H and therefore boost/cstdint.hpp does not include stdint.h even PGI has one </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6724 Trac 1.4.3 Beman Dawes Wed, 21 Mar 2012 21:42:17 GMT status changed https://svn.boost.org/trac10/ticket/6724#comment:1 https://svn.boost.org/trac10/ticket/6724#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> BOOST_HAS_STDINT_H is defined by boost/config/suffix.hpp if defined(<span class="underline">STDC_VERSION</span>) &amp;&amp; (<span class="underline">STDC_VERSION</span> &gt;= 199901), by boost/config/posix_features.hpp if defined(_POSIX_VERSION) &amp;&amp; (_POSIX_VERSION &gt;= 200100), or (very unusually) by a boost/config/stdlib/ header. </p> <p> This code seems to be working OK, see <a class="ext-link" href="http://tinyurl.com/7mcz249"><span class="icon">​</span>http://tinyurl.com/7mcz249</a> and scan down to the Boost section of the config_info report for the PGI compiler at Sandia. </p> <p> So if you have a problem with BOOST_HAS_STDINT_H not being defined, we will need to know much more about your configuration. </p> <p> Thanks, </p> <p> --Beman </p> Ticket olli Wed, 21 Mar 2012 22:14:35 GMT <link>https://svn.boost.org/trac10/ticket/6724#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6724#comment:2</guid> <description> <p> system: x86_64, 64bit linux, pgcc 12.2 </p> <p> using uintptr_t/intptr_t in cpp with include of boost/cstdint.hpp failes because stdint.h (PGI defines uintptr_t/intpr_t in this header) is not included by boost/cstdint.hpp (missing BOOST_HAS_STDINT_H) hope that helps, Oliver </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 23 Jul 2013 17:40:16 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6724#comment:3 https://svn.boost.org/trac10/ticket/6724#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85138" title="Define BOOST_HAS_STDINT_H for PGI on Linux. Fixes #6724.">[85138]</a>) Define BOOST_HAS_STDINT_H for PGI on Linux. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6724" title="#6724: Bugs: missing BOOST_HAS_STDINT_H for PGI (closed: fixed)">#6724</a>. </p> Ticket