| Bug#: 63811 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: gcc-porting@gentoo.org | Reported By: garrison@mail.ru | |
| Component: GCC Porting | |||
| URL: | |||
| Summary: dev-util/astyle build failed with gcc-3.4 | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2004-09-12 12:12 0000 | |||
| Description: | Opened: 2004-09-12 12:12 0000 |
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
Created an attachment (id=39455) [details]
compilation fix for astyle with gcc-3.4
I successfully emerged astyle using gcc-3.4 with this patch applied.
Commited to cvs. Thanks Igor.