Problems compiling gtk--0.3



Hi!
This is my first message to the list. I've just downloaded gtk--0.3 and tried 
to compile it with lots of warning and ending with an error. I can't compile 
either version 0.3 nor 0.2.

The errors starts-->
In file included from /usr/local/include/gtk/gtk.h:22,
                 from gtk--.h:27,
                 from gtk--.cc:24:
/usr/local/include/gdk/gdk.h:430: parse error before `delete'
In file included from /usr/local/include/gtk/gtkcolorsel.h:31,
                 from /usr/local/include/gtk/gtk.h:32,
                 from gtk--.h:27,
                 from gtk--.cc:24:
/usr/local/include/gtk/gtkentry.h:64: parse error before `delete'
In file included from gtk--.cc:24:
gtk--.h:417: parse error before `*'
gtk--.h:552: parse error before `*'
gtk--.h:562: type specifier omitted for parameter
gtk--.h:562: parse error before `*'         
  
[...] (lots of warnings snipped and ends -->

gtk--.h:765: candidates are: Gtk_Pixmap::~Gtk_Pixmap()
gtk--.h:761:                 Gtk_Pixmap::Gtk_Pixmap(struct _GtkPixmap *)
gtk--.h:765:                 Gtk_Pixmap::Gtk_Pixmap(const class Gtk_Pixmap &)
gtk--.cc: In method `Gtk_Pixmap::Gtk_Pixmap(...)':
gtk--.cc:1841: `pixmap' undeclared (first use this function)
gtk--.cc:1841: `mask' undeclared (first use this function)
gtk--.cc: At top level:
gtk--.cc:1857: type specifier omitted for parameter
gtk--.cc:1857: parse error before `*'
gtk--.cc: In method `void Gtk_Pixmap::set(...)':
gtk--.cc:1859: `pixmap' undeclared (first use this function)
gtk--.cc:1859: `mask' undeclared (first use this function)
gtk--.cc: At top level:
gtk--.cc:1863: type specifier omitted for parameter
gtk--.cc:1863: parse error before `*'
gtk--.cc: In method `void Gtk_Pixmap::get(...)':
gtk--.cc:1865: `pixmap' undeclared (first use this function)
gtk--.cc:1865: `mask' undeclared (first use this function)
gtk--.cc: In method `void Gtk_Text::set_editable(int)':
gtk--.cc:2373: warning: implicit declaration of function `int 
gtk_text_set_edita
ble(...)'
make: *** [gtk--.o] Error 1          

8<---------------------------------------------------------------------------->
8

I cant figure aout what is happening. My system is Debian Linux 1.2 with gtk 
from gimp 0.99, libc.so.5.4.13,ld.so.1.8.5, libg++.so.27.2.1 and gcc 2.7.2.1

Any suggestion will be very wellcome.

Best regards...
 
-- 
            Powered by Debian GNU/Linux <www.debian.org> 
        ====================================================   
***********   Joan Llopis -:-:-:-:- jllopis@redestb.es   *********** 
        ====================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]