[165] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Using GTK in a C++ project

daemon@ATHENA.MIT.EDU (Thomas NOEL)
Thu May 15 18:12:55 1997

From: Thomas NOEL <noel@galaxie.int-evry.fr>
To: gtk-list@redhat.com
Date: Fri, 16 May 1997 00:12:41 +0200 (MET DST)
Reply-To: noel@galaxie.int-evry.fr
Reply-To: noel@galaxie.int-evry.fr
Resent-From: gtk-list@redhat.com

Hi there,

I need (want :) to use gtk in a C++ development. But it seems I'm
stuck :

g++ -V2.7.2.1 -bi386-linux -I/usr/local/gimp/include -o simple simple.c 
-L/usr/local/gimp/lib -lgtk -lgdk -lglib -L/usr/X11R6/lib -lX11 -lXext -lm
In file included from /usr/local/gimp/include/gtk/gtkcolorsel.h:31,
                 from /usr/local/gimp/include/gtk/gtk.h:33,
                 from simple.c:1:
/usr/local/gimp/include/gtk/gtkentry.h:64: parse error before `delete'
make: *** [simple] Error 1

Arghhh... 'delete' is a reserved word in C++, so what am I supposed 
to do ? Pray ? Replace "delete" with "no_conflict_delete" ?

Thanx in advance,
-- Thomas NOEL <noel@int-evry.fr>

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post