Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8814: Atomic doesn't compile for QNX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-07 19:25:42
#8814: Atomic doesn't compile for QNX
-------------------------------+--------------------------
Reporter: davide.faconti@⦠| Owner: timblechmann
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: atomic
Version: Boost 1.54.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------
Comment (by anonymous):
<cstddef> 'includes' stddef.h but does not necessarily put things into the
global namespace.
ie when using <cstddef> your code should use std::ptrdiff_t not just the
global ptrdiff_t.
The rule is that <cxxx> must put the <xxx.h> stuff into namespace std::
and *may* also put it into the global namespace.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8814#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC