<?xml version="1.0" encoding="UTF-8"?>
<!--PATCHINFO id="e5aa01b2580b983a673bd71f05e3fd74"!-->
<update status="stable" from="maint-coord@suse.de" type="recommended" version="58">
  <id>boost</id>
  <title>boost: fix for Including boost/python.hpp which caused a compile error.</title>
  <release>openSUSE 11.0</release>
  <issued date="1214331106"/>
  <references>
    <reference href="https://bugzilla.novell.com/show_bug.cgi?id=401964" id="401964" title="bug number 401964" type="bugzilla"/>
  </references>
  <description>Trying to compile a simple program such as:



int main() { return 0; }



with   g++ test.cpp  -I/usr/include/python2.5
-lboost_python -lpython2.5

results in the following error:

In file included from
/usr/include/boost/python/class.hpp:29, from
/usr/include/boost/python.hpp:18, from test.cpp:1:
/usr/include/boost/python/detail/def_helper.hpp:192: error:
declaration of 'typename
boost::python::detail::keyword_extract&lt;boost::tuples::tuple&lt;
const T1&amp;, const T2&amp;, const T3&amp;, const T4&amp;,
boost::python::default_call_policies,
boost::python::detail::keywords&lt;0u&gt;, const char*, void
(boost::python::detail::not_specified::*)(),
boost::tuples::null_type, boost::tuples::null_type&gt;
&gt;::result_type boost::python::detail::def_helper&lt;T1, T2,
T3, T4&gt;::keywords() const'
/usr/include/boost/python/args_fwd.hpp:35: error: changes
meaning of 'keywords' from 'struct
boost::python::detail::keywords&lt;0u&gt;,

because keywords&lt;0&gt; lacks qualification.
</description>
  <pkglist>
    <collection>
        <package name="boost" arch="i586" version="1.34.1" release="42.2">
          <filename>boost-1.34.1-42.2.i586.rpm</filename>
        </package>
        <package name="boost" arch="ppc" version="1.34.1" release="42.2">
          <filename>boost-1.34.1-42.2.ppc.rpm</filename>
        </package>
        <package name="boost" arch="x86_64" version="1.34.1" release="42.2">
          <filename>boost-1.34.1-42.2.x86_64.rpm</filename>
        </package>
        <package name="boost-devel" arch="i586" version="1.34.1" release="42.2">
          <filename>boost-devel-1.34.1-42.2.i586.rpm</filename>
        </package>
        <package name="boost-devel" arch="ppc" version="1.34.1" release="42.2">
          <filename>boost-devel-1.34.1-42.2.ppc.rpm</filename>
        </package>
        <package name="boost-devel" arch="x86_64" version="1.34.1" release="42.2">
          <filename>boost-devel-1.34.1-42.2.x86_64.rpm</filename>
        </package>
        <package name="boost-doc" arch="i586" version="1.34.1" release="42.2">
          <filename>boost-doc-1.34.1-42.2.i586.rpm</filename>
        </package>
        <package name="boost-doc" arch="ppc" version="1.34.1" release="42.2">
          <filename>boost-doc-1.34.1-42.2.ppc.rpm</filename>
        </package>
        <package name="boost-doc" arch="x86_64" version="1.34.1" release="42.2">
          <filename>boost-doc-1.34.1-42.2.x86_64.rpm</filename>
        </package>
    </collection>
  </pkglist>
</update>
