[Gambas-user] compile error

Guillermo Ballester Valor gbv at ...1076...
Fri Mar 17 00:13:33 CET 2006


Hello,

El Jueves, 16 de Marzo de 2006 23:51, Benoit Minisini escribió:
> The used gcc 4 flag will be automatically disabled in the next version if
> you use gcc 3. As for the GTK+ problem, please tell. Daniel will tell us if
> the version of GTK+ is too young in SuSE 9.3 or not.
>
This is the error I got on SuSE 9.3 (using gcc_41 compiler) . I'm not sure 
where it came from. 

 g++_41 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -pipe -Wall -fno-exceptions 
-Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT 
gtree.lo -MD -MP -MF .deps/gtree.Tpo -c gtree.cpp  -fPIC -DPIC 
-o .libs/gtree.o
In file included from gtree.cpp:29:
./gtree.h:115:7: warning: no newline at end of file
gtree.cpp: In constructor 'gTreeRow::gTreeRow(gTree*, long unsigned int, 
GtkTreeIter*, char*)':
gtree.cpp:80: warning: comparison between signed and unsigned integer 
expressions
gtree.cpp: In member function 'gTreeCell* gTreeRow::get(long unsigned int)':
gtree.cpp:176: warning: unused variable 'ct'
gtree.cpp: In constructor 'gTree::gTree()':
gtree.cpp:198: warning: unused variable 'column'
gtree.cpp: In member function 'gTreeRow* gTree::addRow(char*, char*, char*)':
gtree.cpp:429: warning: unused variable 'model'
gtree.cpp: In member function 'bool gTree::columnVisible(long unsigned int)':
gtree.cpp:640: warning: converting to non-pointer type 'bool' from NULL
gtree.cpp: In member function 'bool gTree::columnResizable(long unsigned 
int)':
gtree.cpp:657: warning: converting to non-pointer type 'bool' from NULL
if /bin/sh ../libtool --tag=CXX --mode=compile g++_41 -DHAVE_CONFIG_H -I. -I. 
-I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include     -pipe 
-Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os 
-fno-omit-frame-pointer  -MT gtools.lo -MD -MP -MF ".deps/gtools.Tpo" -c -o 
gtools.lo gtools.cpp; \
then mv -f ".deps/gtools.Tpo" ".deps/gtools.Plo"; else rm -f 
".deps/gtools.Tpo"; exit 1; fi
 g++_41 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -pipe -Wall -fno-exceptions 
-Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT 
gtools.lo -MD -MP -MF .deps/gtools.Tpo -c gtools.cpp  -fPIC -DPIC 
-o .libs/gtools.o
gtools.cpp:309:2: warning: no newline at end of file
widgets.h:456: error: extra qualification 'gPicture::' on member 'getPixbuf'
make[4]: *** [gtools.lo] Error 1
make[4]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89684 (%build)



> Regards,

-- 
Guillermo Ballester Valor
gbv at ...1076...
Ogijares, Granada  SPAIN
Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html
####################################################
See World Weather Navigator at http://www.ogimet.com
####################################################
 




More information about the User mailing list