GNOME Bugzilla – Bug 111184
compile fails in "examples" directory
Last modified: 2004-12-22 21:47:04 UTC
unfortunately, impossible for me to tell what is really happening here. i don't see anything about it in the documentation. maybe i missed it. make[3]: Entering directory `/usr/src/gtkmm-2.2.1/examples/markup' source='parser.cc' object='parser.o' libtool=no \ depfile='.deps/parser.Po' tmpdepfile='.deps/parser.TPo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/gnome/lib/sigc++-1.2/include -I/opt/gnome/include/sigc++-1.2 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -O2 -Wall -c -o parser.o `test -f 'parser.cc' || echo './'`parser.cc parser.cc: In method `void {anonymous}::DumpParser::indent()': parser.cc:118: `::right' undeclared (first use here) make[3]: *** [parser.o] Error 1 make[3]: Leaving directory `/usr/src/gtkmm-2.2.1/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/gtkmm-2.2.1/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gtkmm-2.2.1' make: *** [all] Error 2
Thanks. What linux distro and compiler are you using?
(Linux 2.4.5) [/home/mpowe] 3:06pm {2} --> gcc -v Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs gcc version 2.95.3 20010315 (release)
Could you try #including <ios> and see if that helps. If not, please try just removing the std::right, and tell us if everything then builds. This might be helpful: http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=m2bshw8ntz.fsf%40karfiol.glp.de&rnum=1&prev=/groups%3Fq%3Dstd::right%2Bgcc%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Dm2bshw8ntz.fsf%2540karfiol.glp.de%26rnum%3D1
Please do try this. I'd like to release a new version soon.
Fixed, by removing the std::right. Everything builds.