[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: compile problem...
On Thu, 25 Sep 1997, David Morton wrote:
>
> I guess that wasn't the error... What did I change that caused this to mess
> up? ( I think line 194 is the actuall error...
>
> All I did was change the thing ajb mentioned (nothing to do with gtk)
> and add the // c++ comment on most .h files (but didn't touch gtk stuff, because
> alecu already did)
>
> c++ -g -D_REENTRANT -Wall -I. -I../../src -I/usr/local/include
> -I/home/mortonda/mnemonic/mnemonic/ssl_include -I/usr/include -g -O2 -c -o
> gtkFormatter.o gtkFormatter.cc
> gtkFormatter.cc: In method `void gtkFormatter::draw(class Context *, struct
> cssAttribute *)':
> gtkFormatter.cc:194: type `_GdkFont' is not a base type for type `_GdkGC'
uh yes you installed a newer gtk...
the changed gdk a little. So for the new gtk you have to add "font" as
second argument at line 194 (but because this is not compatible with the
previous version we didn't commit it.
Max
> gtkFormatter.cc:143: warning: unused variable `class Point lsz'
> gtkFormatter.cc:111: warning: unused variable `int i'
> gtkFormatter.cc:109: warning: unused variable `int sx'
> gtkFormatter.cc:110: warning: `int len' might be used uninitialized in this
> function
> gtkFormatter.cc:114: warning: `char * str' might be used uninitialized in this
> function
> gtkFormatter.cc: In method `class Point gtkFormatter::realize(class Point,
> struct cssAttribute *)':
> gtkFormatter.cc:248: warning: unused variable `class TagList currentline'
> make[2]: *** [gtkFormatter.o] Error 1
> make[2]: Leaving directory `/home/mortonda/mnemonic/mnemonic/src/dispmanager'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/home/mortonda/mnemonic/mnemonic/src'
> make: *** [subdirs] Error 2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Mnemonic Browser Project - http://www.mnemonic.org/
> Developers Mailinglist
> Archive: http://www.mnemonic.browser.org/list/dev/
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>