Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63811 - dev-util/astyle build failed with gcc-3.4
Summary: dev-util/astyle build failed with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 12:12 UTC by Igor V. Kovalenko
Modified: 2004-09-26 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
compilation fix for astyle with gcc-3.4 (astyle-1.15.3-gcc34-compile.patch,322 bytes, patch)
2004-09-12 12:14 UTC, Igor V. Kovalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor V. Kovalenko 2004-09-12 12:12:22 UTC
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&, const
ITER&, const ITER&, const std::string&)':
astyle_main.cpp:178: error: there are no arguments to `parseOption' that depend
on a template parameter, so a declaration of `parseOption' must be available


Expected Results:  
emerge succeeded

It's clearly a GCC 3.4 compilation problem
Comment 1 Igor V. Kovalenko 2004-09-12 12:14:40 UTC
Created attachment 39455 [details, diff]
compilation fix for astyle with gcc-3.4

I successfully emerged astyle using gcc-3.4 with this patch applied.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-26 16:20:58 UTC
Commited to cvs. Thanks Igor.