Skip to contentSkip to conversation

Khem Raj : eglibc: Add 2.18 recipes

oe-commits Martin Jansa 2 participants 2 messages Jul 8, 2013 – Jul 9, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20130705143917.C20B35040C@opal

#1 lore raw
Quoted 5 lines · On Fri, Jul 05, 2013 at 02:39:17PM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 59ae9fc07a6a89492c001de0b3322ecd6d3956be
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=59ae9fc07a6a89492c001de0b3322ecd6d3956be
Quoted 7 lines
Author: Khem Raj <[email protected]>
Date:   Wed Jun 26 13:59:01 2013 -0700

eglibc: Add 2.18 recipes

boost is now failing on all architectures

./boost/atomic/atomic.hpp: At global scope:
./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;
                                           ^

Adding
#include <stdint.h> in boost/atomic/atomic.hpp solves that, but #include <cstdint> doesn't, is it right fix?

#2 lore raw
Quoted 25 lines · Martin Jansa
Quoted 5 lines · On Fri, Jul 05, 2013 at 02:39:17PM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 59ae9fc07a6a89492c001de0b3322ecd6d3956be
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=59ae9fc07a6a89492c001de0b3322ecd6d3956be
Quoted 7 lines
Author: Khem Raj <[email protected]>
Date:   Wed Jun 26 13:59:01 2013 -0700

eglibc: Add 2.18 recipes

boost is now failing on all architectures

./boost/atomic/atomic.hpp: At global scope:
./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;
                                            ^
Quoted 3 lines

Adding
#include <stdint.h> in boost/atomic/atomic.hpp solves that, but #include <cstdint> doesn't, is it right fix?

Please file a bug report with boost. stdint.h is not always available (e.g. Microsoft Visual C++ 2008 and older).

Regards,
Jonathan