After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111184 - compile fails in "examples" directory
compile fails in "examples" directory
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
2.2
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-04-20 05:07 UTC by michael
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description michael 2003-04-20 05:07:32 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
Comment 1 Murray Cumming 2003-04-20 16:22:03 UTC
Thanks. What linux distro and compiler are you using?
Comment 2 michael 2003-04-20 19:34:00 UTC
(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)
 
Comment 3 Murray Cumming 2003-04-21 09:29:46 UTC
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
Comment 4 Murray Cumming 2003-04-30 13:35:00 UTC
Please do try this. I'd like to release a new version soon.
Comment 5 Murray Cumming 2003-05-02 16:10:36 UTC
Fixed, by removing the std::right. Everything builds.