hum... what is your version of gcc ? struct _GtkPrinter { GObject parent_instance;
GtkPrinterPrivate *GSEAL (priv); }; it seem that the compilator don't like the '(priv)' 2010/6/2 Jose J. Rodriguez <joe1...@gmail.com>: > So I finally decided to check out Gambas3 from svn and give it a go, > right after the new structure implemention announcement. However, I > first had to download and build the latest versions of libtool, > autoconf and automake, before reconf-all worked. Still, after all > that, make fails, seemingly on something gtk related. I am using > VectorLinux 6 SOHO Beta 4, which has gtk+2-2.12.9, does it need to be > a newer version too? > > After attempting the more complicated build script we use, I tried a > simple "./configure --prefix=/usr", then "make".Here's the tail of the > make log, just in case: > > > In file included from gprinter.h:26, > from cprinter.h:28, > from cpaint_impl.cpp:37: > ./gtkprinter.h:94: error: expected ';' before '(' token > cpaint_impl.cpp: In function 'void draw_text(GB_PAINT*, bool, const > char*, int, float, float, int)': > cpaint_impl.cpp:621: warning: dereferencing type-punned pointer will > break strict-aliasing rules > cpaint_impl.cpp: In function 'void get_text_extents(GB_PAINT*, bool, > const char*, int, GB_EXTENTS*)': > cpaint_impl.cpp:661: warning: dereferencing type-punned pointer will > break strict-aliasing rules > make[5]: *** [cpaint_impl.lo] Error 1 > make[5]: Leaving directory > `/home/joe1962/packaging/VL60/0-sbbuilder/gambas3/2970/src/gambas3-2970/gb.gtk/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > `/home/joe1962/packaging/VL60/0-sbbuilder/gambas3/2970/src/gambas3-2970/gb.gtk/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/joe1962/packaging/VL60/0-sbbuilder/gambas3/2970/src/gambas3-2970/gb.gtk' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/joe1962/packaging/VL60/0-sbbuilder/gambas3/2970/src/gambas3-2970/gb.gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/joe1962/packaging/VL60/0-sbbuilder/gambas3/2970/src/gambas3-2970' > make: *** [all] Error 2 > > > Regards, > Joe1962 > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user