Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218404 - media-sound/gtkguitune-0.7-r1 fails w/ gcc-4.3.0
Summary: media-sound/gtkguitune-0.7-r1 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-19 12:40 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-19 13:01 UTC (History)
0 users

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


Attachments
gtkguitune-0.7-gcc43.patch (gtkguitune-0.7-gcc43.patch,287 bytes, patch)
2008-04-19 12:40 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-19 12:40:03 UTC
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:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-19 12:40:45 UTC
Created attachment 150293 [details, diff]
gtkguitune-0.7-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen gentoo-dev 2008-04-19 13:01:35 UTC
+  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.