Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218403 - dev-cpp/gtkmm-1.2.9-r2 fails w/ gcc-4.3.0
Summary: dev-cpp/gtkmm-1.2.9-r2 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: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-19 12:31 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-07-11 09:00 UTC (History)
1 user (show)

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


Attachments
gtkmm-1.2.9-gcc43.patch (gtkmm-1.2.9-gcc43.patch,530 bytes, patch)
2008-04-19 12:32 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:31:32 UTC
To the surprise of none:
make[3]: Entering directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src/gtkmmproc'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..   -D MACRO_DIR=\"/usr/lib/gtkmm/proc\" -D M4=\"m4\"   -c parser.cc
/usr/lib/bison.simple: In function ‘int yyparse()’:
/usr/lib/bison.simple:358: warning: deprecated conversion from string constant to ‘char*’
/usr/lib/bison.simple:643: warning: deprecated conversion from string constant to ‘char*’
parser.yy: In function ‘int sig_attribute(std::string*)’:
parser.yy:510: warning: deprecated conversion from string constant to ‘char*’
parser.yy: In function ‘int member_attribute(std::string*)’:
parser.yy:529: warning: deprecated conversion from string constant to ‘char*’
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..   -D MACRO_DIR=\"/usr/lib/gtkmm/proc\" -D M4=\"m4\"   -c gtkmmproc.cc
gtkmmproc.cc: In constructor ‘OutputChannel::OutputChannel()’:
gtkmmproc.cc:757: error: ‘exit’ was not declared in this scope
gtkmmproc.cc:763: error: ‘exit’ was not declared in this scope
gtkmmproc.cc: In member function ‘void OutputChannel::process()’:
gtkmmproc.cc:817: error: ‘system’ was not declared in this scope
gtkmmproc.cc: In member function ‘void Environment::usage()’:
gtkmmproc.cc:874: error: ‘exit’ was not declared in this scope
make[3]: *** [gtkmmproc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src/gtkmmproc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9'
make: *** [all-recursive-am] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-19 12:32:49 UTC
Created attachment 150290 [details, diff]
gtkmm-1.2.9-gcc43.patch

Remember to cd "${S}" before epatching.
Fixes the problem.Snatched from Debian.
Comment 2 Rémi Cardona gentoo-dev 2008-07-11 09:00:38 UTC
Thanks for the patch. :)

Fixed in portage without a revbump.