Subject: [Boost-bugs] [Boost C++ Libraries] #8973: compiling with 1.54.0 with gcc 4.8.1 fails with uintptr_t type not declared.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-07 16:25:35
#8973: compiling with 1.54.0 with gcc 4.8.1 fails with uintptr_t type not
declared.
-----------------------------+------------------------------
Reporter: j.e.vasquez.v@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.54.0
Severity: Problem | Keywords:
-----------------------------+------------------------------
When compiling boost 1.54.0 with gcc 4.8.1 I gett the following error:
gcc.compile.c++ bin.v2/libs/atomic/build/gcc-4.8.1/release/threading-
multi/lockpool.o
In file included from ./boost/atomic.hpp:12:0,
from libs/atomic/src/lockpool.cpp:1:
./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in
this scope
typedef atomic<uintptr_t> atomic_uintptr_t;
^
./boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
typedef atomic<uintptr_t> atomic_uintptr_t;
^
./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration
before ';' token
typedef atomic<uintptr_t> atomic_uintptr_t;
^
"g++" -ftemplate-depth-128 -Wno-strict-aliasing -march=native
-mtune=native -m64 -pipe -DPIC -fPIC -O3 -O3 -finline-functions -Wno-
inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_ATOMIC_SOURCE -DNDEBUG -I"." -c -o
"bin.v2/libs/atomic/build/gcc-4.8.1/release/threading-multi/lockpool.o"
"libs/atomic/src/lockpool.cpp"
...failed gcc.compile.c++ bin.v2/libs/atomic/build/gcc-4.8.1/release
/threading-multi/lockpool.o...
...failed updating 1 target...
...updated 7 targets...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8973> 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