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 attachment 39455 [details, diff] 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.