RE: [gtkmm] namespace compile problem
- From: "brook davis" <dodecaphonic hotmail com>
- To: Murray Cumming Comneon com, gtkmm-list gnome org
- Subject: RE: [gtkmm] namespace compile problem
- Date: Thu, 06 Mar 2003 09:25:22 -0500
oh, and here are the errors...
|>make
..........goes well until...
Making all in gdk--
make[3]: Entering directory `/usr/local/gtkmm-1.2.9/gdk--/gdk--'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../.. -DG_LOG_DOMAIN=\"Gdk--\" -I./.. -I.. -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wno-unused -c bitmap.cc
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_LOG_DOMAIN=\"Gdk--\"
-I./.. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wno-unused -c
bitmap.cc -fPIC -DPIC -o bitmap.o
In file included from ../gdk--/types.h:365,
from ../gdk--/drawable.h:27,
from ../gdk--/bitmap.h:26,
from bitmap.cc:1:
../gdk--/color.h:56: parse error before `&' token
../gdk--/color.h:99: parse error before `&' token
../gdk--/color.h:100: parse error before `&' token
../gdk--/color.h: In member function `gint Gdk_Color::parse(...)':
../gdk--/color.h:101: `spec' undeclared (first use this function)
../gdk--/color.h:101: (Each undeclared identifier is reported only once for
each function it appears in.)
In file included from ../gdk--/bitmap.h:26,
from bitmap.cc:1:
../gdk--/drawable.h: At global scope:
../gdk--/drawable.h:114: parse error before `&' token
In file included from bitmap.cc:2:
../gdk--/window.h:151: parse error before `&' token
../gdk--/window.h:213: parse error before `&' token
../gdk--/window.h:228: parse error before `&' token
make[3]: *** [bitmap.lo] Error 1
make[3]: Leaving directory `/usr/local/gtkmm-1.2.9/gdk--/gdk--'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/gtkmm-1.2.9/gdk--'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gtkmm-1.2.9'
make: *** [all-recursive-am] Error 2
I checked out the lines that throw the parse errors, and they all share a
common declaration of " string &var " in some flavor or another. i
assumed this was a namespace problem as they also all use the Gtk namespace
with GTKMM_USING_STD_STRING;
declared.
thanks, a mille,
brook;
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]