[pkg-boost-devel] Bug#739904: /usr/include/boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in this scope

Andreas Metzler ametzler at bebt.de
Sun Feb 23 18:09:11 UTC 2014


Package: libboost1.54-dev
Version: 1.54.0-4
Severity: serious
Tags: patch

Hello,

upgrading libc to 2.18 broke boost, e.g. hugin now FTBFS:
----------------
/usr/include/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
 typedef atomic<uintptr_t> atomic_uintptr_t;
                         ^
/usr/include/boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before ';' token
 typedef atomic<uintptr_t> atomic_uintptr_t;
----------------

This was fixed upstream by
https://svn.boost.org/trac/boost/changeset/84950
(already included in 1.55).
Applying this patch to /usr/include/boost/cstdint.hpp let me make
hugin build successfully again.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the pkg-boost-devel mailing list