[OE-core] boost 1.54 compile fail

Yi Qingliang niqingliang2003 at gmail.com
Thu Jul 11 01:54:28 UTC 2013


maybe it is the gcc's fault (recently it is updated to 4.8.x in poky)

I can found uintptr_t in cstdint, but it is wrapped by a c99 related macro.


On Wednesday, July 10, 2013 04:21:02 PM Yi Qingliang wrote:
> Hello!
> 
> after update poky to latest git version, I got failure when compiling boost:
> 
> the main error is: (indeed, and too many warning!)
> 
> | ./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;
> |  
> |                                            ^
> | 
> | In file included from ./boost/system/system_error.hpp:14:0,
> | 
> |                  from ./boost/thread/exceptions.hpp:22,
> |                  from ./boost/thread/pthread/thread_data.hpp:10,
> |                  from ./boost/thread/thread_only.hpp:17,
> |                  from libs/thread/src/pthread/thread.cpp:11:
-- 
Nanjing Jilong
Yi Qingliang
niqingliang2003 at gmail.com



More information about the Openembedded-core mailing list