← Back to team overview

kicad-developers team mailing list archive

boost & gcc 4.8.1

 

Boost downloaded by KiCad does not build with gcc 4.8.1 - it is already resolved in boost-trunk. I do not know what is the policy for applying patches that are going to be included in the mainstream, but just in case - the attached patched removes the problem.

Regards,
Orson
=== modified file 'patches/boost.patch'
--- patches/boost.patch	2013-05-31 04:46:02 +0000
+++ patches/boost.patch	2013-11-11 10:27:18 +0000
@@ -18,3 +18,16 @@
        itrT2 tmpb = bb;
        ++tmpb;
 
+=== modified file 'boost/cstdint.hpp'
+--- boost/cstdint.hpp
++++ boost/cstdint.hpp
+@@ -42,5 +42,8 @@
+ // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
+ //
+-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
++#if defined(BOOST_HAS_STDINT_H)                                 \
++  && (!defined(__GLIBC__)                                       \
++      || defined(__GLIBC_HAVE_LONG_LONG)                        \
++      || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
+ 
+ // The following #include is an implementation artifact; not part of interface.

Follow ups