Hi All,

Currently kicad is unable to be built on ubuntu Wily (15.10) since gcc
5.2.1 is used.
Build trace example is at:
https://launchpadlibrarian.net/216242089/buildlog_ubuntu-wily-amd64.kicad_0.201509030902%2B6151~29~ubuntu15.10.1_BUILDING.txt.gz

  After analysis it look to be a difference between gcc 5.2 and gcc 4.X
for handling
variadic templates.

  Boost is not able to correctly handle compiler options in this case
(As I understand).
It look to be corrected on boost 1.58 but in V1.54 (version we use) it
is not working.

Currently a workarround is to patch boost (an other one) with attached
file (it's a backport from 1.58).

Is it possible to add this patch on the list of boost's patch ? or is
there any plan to upgrade boost version ?

Regards,
Jean-Samuel Reynaud

--- boost/thread/pthread/once_atomic.hpp~	2015-09-03 16:01:38.000000000 +0200
+++ boost/thread/pthread/once_atomic.hpp	2015-09-03 16:01:54.647079302 +0200
@@ -115,7 +115,7 @@
 #endif
 
 
-#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES
+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
 
   template<typename Function, class ...ArgTypes>
   inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to