<?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>63811</bug_id>
          
          <creation_ts>2004-09-12 12:12 0000</creation_ts>
          <short_desc>dev-util/astyle build failed with gcc-3.4</short_desc>
          <delta_ts>2004-09-26 16:20:58 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>unspecified</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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>garrison@mail.ru</reporter>
          <assigned_to>gcc-porting@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>garrison@mail.ru</who>
            <bug_when>2004-09-12 12:12:22 0000</bug_when>
            <thetext>When I try to emerge dev-util/astyle-1.15.3-r1 , I get errors due to C++ changes in GCC 3.4.


Reproducible: Always
Steps to Reproduce:
1.set gcc-3.4 as default compiler
2.emerge astyle

Actual Results:  
Compilation failed as follows:

astyle_main.cpp: In function `bool parseOptions(astyle::ASFormatter&amp;, const
ITER&amp;, const ITER&amp;, const std::string&amp;)&apos;:
astyle_main.cpp:178: error: there are no arguments to `parseOption&apos; that depend
on a template parameter, so a declaration of `parseOption&apos; must be available


Expected Results:  
emerge succeeded

It&apos;s clearly a GCC 3.4 compilation problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>garrison@mail.ru</who>
            <bug_when>2004-09-12 12:14:40 0000</bug_when>
            <thetext>Created an attachment (id=39455)
compilation fix for astyle with gcc-3.4

I successfully emerged astyle using gcc-3.4 with this patch applied.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sekretarz@gentoo.org</who>
            <bug_when>2004-09-26 16:20:58 0000</bug_when>
            <thetext>Commited to cvs. Thanks Igor.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39455</attachid>
            <date>2004-09-12 12:14 0000</date>
            <desc>compilation fix for astyle with gcc-3.4</desc>
            <filename>astyle-1.15.3-gcc34-compile.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGFzdHlsZV9tYWluLmNwcH4JMjAwNC0wNS0wMSAxODo0MjoyNS4wMjY2Mzc3NDQgKzA0MDAK
KysrIGFzdHlsZV9tYWluLmNwcAkyMDA0LTA1LTAxIDE4OjQ1OjM5LjcxNjA0MDQ1NiArMDQwMApA
QCAtNTMsNiArNTMsNyBAQAogCiBjb25zdCBzdHJpbmcgX3ZlcnNpb24gPSAiMS4xNS4zIjsKIAor
Ym9vbCBwYXJzZU9wdGlvbihBU0Zvcm1hdHRlciAmZm9ybWF0dGVyLCBjb25zdCBzdHJpbmcgJmFy
ZywgY29uc3Qgc3RyaW5nICZlcnJvckluZm8pOwogCiBjbGFzcyBBU1N0cmVhbUl0ZXJhdG9yIDoK
ICAgICAgICAgICAgIHB1YmxpYyBBU1NvdXJjZUl0ZXJhdG9yCg==
</data>        

          </attachment>
    </bug>

</bugzilla>