xarchon-0.60 does not compile on gcc-3.4, although it does (and runs fine) on gcc-3.3. This is the relevant part of the compilation: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O3 -pipe -Wall -c -o Xarchon_Problem.o `test -f Xarchon_Problem.cpp || echo './'`Xarchon_Problem.cpp In file included from Xarchon_Problem.hpp:16, from Xarchon_Problem.cpp:1: Problem.hpp: In member function `virtual G Minimax_Goal_Test<G, T>::Goal_Value(T*)': Problem.hpp:309: error: `tester' undeclared (first use this function) Problem.hpp:309: error: (Each undeclared identifier is reported only once for each function it appears in.) Problem.hpp:312: error: `generator' undeclared (first use this function) Problem.hpp:312: error: `goal_acc' undeclared (first use this function) Problem.hpp:316: error: `next' undeclared (first use this function) Problem.hpp: In member function `virtual G Multi_Minimax_Goal_Test<G, T>::Goal_Value(T*)': Problem.hpp:343: error: `goal_acc' undeclared (first use this function) Problem.hpp:350: error: `d' undeclared (first use this function) Problem.hpp:350: error: `b' undeclared (first use this function) Problem.hpp:350: error: `gen' undeclared (first use this function) Problem.hpp:350: error: `tester' undeclared (first use this function) Problem.hpp:352: error: `accumulator' undeclared (first use this function) Problem.hpp:352: error: `acc' undeclared (first use this function) In file included from Xarchon_Genetic.hpp:6, from Xarchon_Interface.hpp:6, from Xarchon_Problem.cpp:2: Genetic.hpp: In member function `virtual Genetic_Operator<T>* Genetic_Generation<T>::Choose_Operator()': Genetic.hpp:219: error: expected `;' before "start" Genetic.hpp:220: error: expected `;' before "end" Genetic.hpp:221: error: expected `;' before "iter" Genetic.hpp:224: error: `iter' undeclared (first use this function) Genetic.hpp:224: error: `start' undeclared (first use this function) Genetic.hpp:224: error: `end' undeclared (first use this function) Genetic.hpp: In member function `virtual Genetic_Population<T>* Genetic_Generation_a<T>::Operate(Genetic_Population<T>*)': Genetic.hpp:252: error: there are no arguments to `Choose_Operator' that depend on a template parameter, so a declaration of `Choose_Operator' must be available Genetic.hpp:252: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) Genetic.hpp:267: error: `fit_func' undeclared (first use this function)
Created attachment 82139 [details, diff] 01_all_gcc34.patch This patch fix emerging of xarchon I was not able to play with it, as I got: canvas_font_load(): cannot load font `-misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1' If somebody can test that, I can put the patch in portage
Are you using modular X?
Fixed in CVS