<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>147976</bug_id>
          
          <creation_ts>2006-09-17 12:28 0000</creation_ts>
          <short_desc>dev-cpp/gccxml-0.6 broken with gcc-4.1.x</short_desc>
          <delta_ts>2006-10-10 14:04:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>dev-zero@gentoo.org</reporter>
          <assigned_to>g2boojum@gentoo.org</assigned_to>
          <cc>cpp@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2006-09-17 12:28:20 0000</bug_when>
            <thetext>When I try to generate python-bindings for imagemagick (re-generation the bindings for pythonmagick-0.6), I get the following error:

pyste.py --module=_PythonMagick --multiple --out=./pythonmagick_src -I [&apos;/usr/include&apos;] pyste_src/PathMovetoAbs.pyste
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string:53,
                 from /usr/include/Magick++/Drawable.h:18:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h: In
   member function `bool std::basic_string&lt;_CharT, _Traits,
   _Alloc&gt;::_M_disjunct(const _CharT*) const&apos;:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h:329: error: syntax
   error before `;&apos; token
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h:330: error: syntax
   error before `;&apos; token
Traceback (most recent call last):
  File &quot;/usr/bin/pyste.py&quot;, line 4, in ?
    pyste.main()
  File &quot;/usr/lib/python2.4/site-packages/Pyste/pyste.py&quot;, line 418, in main
    status = Begin()
  File &quot;/usr/lib/python2.4/site-packages/Pyste/pyste.py&quot;, line 257, in Begin
    return GenerateCode(parser, module, out, interfaces, multiple)
  File &quot;/usr/lib/python2.4/site-packages/Pyste/pyste.py&quot;, line 376, in GenerateCode
    declarations, parsed_header = parser.Parse(header, interface, tail)
  File &quot;/usr/lib/python2.4/site-packages/Pyste/CppParser.py&quot;, line 165, in Parse
    declarations = self.ParseWithGCCXML(header, tail)
  File &quot;/usr/lib/python2.4/site-packages/Pyste/CppParser.py&quot;, line 126, in ParseWithGCCXML
    raise CppParserError, &apos;Error executing gccxml&apos;
Pyste.CppParser.CppParserError: Error executing gccxml

When I pass the option &quot;--gccxml-compiler g++-3.4.6&quot; to gccxml, it works.
I&apos;m not surprised though, version 0.6 of gccxml is from year 2004.
Reading through the mailinglist shows that others had some problems as well: http://public.kitware.com/pipermail/gccxml/2006-June/000800.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2006-09-17 12:30:03 0000</bug_when>
            <thetext>According to this note:
http://hanzubon.jp/gcc4/changes/gccxml_0.7.0+cvs20060311-1_ppc64.changes

GCC-4* support may have been added in the CVS version of gccxml.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2006-09-17 14:08:27 0000</bug_when>
            <thetext>Jup, CVS version seems to work with gcc-4.x but breaks pyste.
I have upped a snapshot here: http://dev-zero.ch/gentoo/distfiles/gccxml-0.7.0_pre20060916.tbz2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>g2boojum@gentoo.org</who>
            <bug_when>2006-10-10 14:04:35 0000</bug_when>
            <thetext>I&apos;ve decided to sync w/ Debian, since it seems that upstream is never going
to get around to generating a release.  I suspect that pyste is still broken
(and probably will remain broken forever, since it&apos;s no longer maintained).</thetext>
          </long_desc>
      
    </bug>

</bugzilla>