Red Hat Bugzilla – Bug 432694
boost python headers cause compile error with gcc-4.3
Last modified: 2013-08-09 01:48:15 EDT
Description of problem:
Try building vegastrike:
cvs co vegastrike
-The build stops with this error:
In file included from /usr/include/boost/python/class.hpp:29,
/usr/include/boost/python/detail/def_helper.hpp:192: error: declaration of
'typename boost::python::detail::keyword_extract<boost::tuples::tuple<const T1&,
const T2&, const T3&, const T4&, boost::python::default_call_policies,
boost::python::detail::keywords<0ul>, const char*, void
boost::tuples::null_type> >::result_type boost::python::detail::def_helper<T1,
T2, T3, T4>::keywords() const'
/usr/include/boost/python/args_fwd.hpp:35: error: changes meaning of 'keywords'
from 'struct boost::python::detail::keywords<0ul>'
A successfully completed build.
This was done on a fully up2date rawhide x86_64 machine.
Fixed in rawhide. If you want to get hands on the new package immediately,
fetch rpms from here:
Created attachment 294913 [details]
GCC 4.3 fixes for vegastrike
I also did a full build of Vega Strike to make sure it doesn't uncover other
bugs in boost, and had to fix a bunch of #include problems to get it fixed. I
guess I can just make the patch available should you find it useful.
(In reply to comment #2)
> Created an attachment (id=294913) 
> GCC 4.3 fixes for vegastrike
> I also did a full build of Vega Strike to make sure it doesn't uncover other
> bugs in boost, and had to fix a bunch of #include problems to get it fixed. I
> guess I can just make the patch available should you find it useful.
Thanks thats very helpful! And also thanks for quickly fixing this!