c++ -DHAVE_CONFIG_H -I. -I. -I. `gtkmm-config --cflags` -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c main.cc main.cc:73: warning: deprecated conversion from string constant to ‘char*’ main.cc: In function ‘void process_option(int)’: main.cc:116: error: ‘exit’ was not declared in this scope main.cc: In function ‘int load_config(char***, int*, char**, int)’: main.cc:150: error: ‘getenv’ was not declared in this scope main.cc:172: error: ‘malloc’ was not declared in this scope main.cc: In function ‘void setRecInput()’: main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc:234: warning: deprecated conversion from string constant to ‘char*’ main.cc: In function ‘int main(int, char**)’: main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ main.cc:343: warning: deprecated conversion from string constant to ‘char*’ make: *** [main.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce:
Created attachment 150293 [details, diff] gtkguitune-0.7-gcc43.patch Fixes the problem. Snatched from Debian.
+ 19 Apr 2008; Samuli Suominen <drac@gentoo.org> + +files/gtkguitune-0.7-gcc43.patch, gtkguitune-0.7-r1.ebuild: + Fix building with GCC 4.3, thanks to Peter Alfredsen. + But.. This application is still using GTK+-1.2, and will likely be removed in favour of kguitune soon.