<?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>132726</bug_id>
          
          <creation_ts>2006-05-08 14:30 0000</creation_ts>
          <short_desc>hydrogen fails to build with gcc 4.1.0</short_desc>
          <delta_ts>2006-05-12 15:01:26 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>GCC Porting</component>
          <version>2006.0</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>
    
    <blocked>132522</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mizvekov@gmail.com</reporter>
          <assigned_to>eldad@gentoo.org</assigned_to>
          <cc>sound@gentoo.org</cc>
    
    <cc>th_veith@web.de</cc>

      

      
          <long_desc isprivate="0">
            <who>mizvekov@gmail.com</who>
            <bug_when>2006-05-08 14:30:31 0000</bug_when>
            <thetext>This is the error:
i686-pc-linux-gnu-g++ -c -pipe -I/usr/include -g -w -O3 -march=athlon-xp -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -I/usr/qt/3/include -o src/tinystr.o src/lib/xml/tinystr.cpp
src/lib/xml/tinyxml.h:828: error: extra qualification </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mizvekov@gmail.com</who>
            <bug_when>2006-05-08 14:30:31 0000</bug_when>
            <thetext>This is the error:
i686-pc-linux-gnu-g++ -c -pipe -I/usr/include -g -w -O3 -march=athlon-xp -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -I/usr/qt/3/include -o src/tinystr.o src/lib/xml/tinystr.cpp
src/lib/xml/tinyxml.h:828: error: extra qualification TiXmlDeclaration:: on member TiXmlDeclaration

To fix it, here is the patch:

diff -ur a/src/lib/xml/tinyxml.h b/src/lib/xml/tinyxml.h
--- a/src/lib/xml/tinyxml.h     2005-10-17 20:32:04.000000000 -0200
+++ b/src/lib/xml/tinyxml.h     2006-05-08 18:31:27.000000000 -0300
@@ -823,7 +823,7 @@
 #endif
 
        /// Construct.
-       TiXmlDeclaration::TiXmlDeclaration( const char * _version,
+       TiXmlDeclaration( const char * _version,
                                                                               const char * _encoding,
                                                                               const char * _standalone );</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattepiu@gentoo.org</who>
            <bug_when>2006-05-08 14:51:51 0000</bug_when>
            <thetext>You just need to remove &quot;TiXmlDeclaration::&quot; from the file src/lib/xml/tinyxml.h ,
line 828.
I would do myself but it asks for 16 dependancies here (I have an almost 
gnome-free system), so it would be nice if some hydrogen or gnome user would provide a patch....</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mizvekov@gmail.com</who>
            <bug_when>2006-05-08 14:58:26 0000</bug_when>
            <thetext>I did provide a patch, isnt it good?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eldad@gentoo.org</who>
            <bug_when>2006-05-09 08:23:26 0000</bug_when>
            <thetext>Looks good to me, I&apos;ll test it out as soon as I can.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eldad@gentoo.org</who>
            <bug_when>2006-05-12 15:01:26 0000</bug_when>
            <thetext>in CVS, thanks for the patch.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>