Opened 9 years ago
Closed 9 years ago
#8973 closed Bugs (fixed)
compiling with 1.54.0 with gcc 4.8.1 fails with uintptr_t type not declared.
Reported by: | Owned by: | timblechmann | |
---|---|---|---|
Milestone: | To Be Determined | Component: | atomic |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: | j.e.vasquez.v@… |
Description
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...
Attachments (1)
Change History (9)
by , 9 years ago
Attachment: | boost-1_54_0.xz added |
---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
This is fixed with https://svn.boost.org/trac/boost/changeset/84950. Same cause with https://svn.boost.org/trac/boost/ticket/8731
comment:3 by , 9 years ago
You are right... With:
% svn info . ... Repository Root: http://svn.boost.org/svn/boost ... Revision: 85256 ...
boost does compile/install OK...
comment:4 by , 9 years ago
Component: | Building Boost → atomic |
---|---|
Owner: | set to |
comment:5 by , 9 years ago
This bug is a duplicate of https://svn.boost.org/trac/boost/ticket/7979. I've posted new comments there.
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I just attached the log file...