Which version of g++ do you use ?
g++-3.4 is much more strict than g++-3.3 ; a lot of warnings have been
transformed into errors...

Florent

merlin o mago a écrit :
> I have a probem with g++. When I compile a program that uses gtkglext
> I get the following error:
> 
> [EMAIL PROTECTED]:~/$ g++ `pkg-config --cflags --libs gtk+-2.0 gtkglext-1.0` 
> gears.c
> gears.c: In function `int main(int, char**)':
> gears.c:470: error: invalid conversion from `int' to `GdkGLConfigMode'
> gears.c:478: error: invalid conversion from `int' to `GdkGLConfigMode'
> 
> This always happens that I use glconfig and this problem doesn't occur with 
> gcc.
> 
> The program gears is an example of gtkglext-1.0. How I could solve this 
> problem?
> _______________________________________________
> gtkglext-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkglext-list
> 
_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Reply via email to