Boost logo

Boost-Build :

Subject: [Boost-build] Boost 1.54 compilation issue (error: ‘uintptr_t’ was not declared in this scope typedef atomic<uintptr_t> atomic_uintptr_t;)
From: Dâniel Fraga (fragabr_at_[hidden])
Date: 2013-09-06 22:07:56


        I'm trying to compile boost 1.54, but I get a lot of errors (I'm using gcc 4.8.2):

gcc.compile.c++ bin.v2/libs/atomic/build/gcc-4.8.2/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;
                                           ^

        Any hints?

        Thanks.

-- 
Linux 3.11.0: Linux for Workgroups
http://www.youtube.com/DanielFragaBR
http://www.libertarios.org.br

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk