Re: New debug plugin

Michèle Garoche <[email protected]> Fri, 8 Apr 2005 11:46:24 +0200
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
Le 5 avr. 2005, à 6:52, Dave Malcolm a écrit :

> I've created src/plugin-debug.c
The make fails on plugin-debug.c when activating --enable-werror, but 
not --enable-debug-plugin with the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Werror -Wall -DORBIT2=1 
-I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/sw/include/atk-1.0 -I/sw/include/pango-1.0 
-I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include -I/sw/include/gconf/2 
-I/sw/include/orbit-2.0 -I/sw/include/libxml2 -I/sw/include 
-I/sw/include/libbonobo-2.0 -I/sw/include/bonobo-activation-2.0 
-I/sw/include/libbonoboui-2.0 -I/sw/include/libgnomecanvas-2.0 
-I/sw/include/libgnome-2.0 -I/sw/include/libart-2.0 
-I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include 
-I/sw/include/libgnomeui-2.0 -I/sw/include/libglade-2.0      
-I/sw/include/gtksourceview-1.0 -I/sw/include/gtk-2.0 
-I/sw/include/libxml2 -I/sw/include -I/sw/include/libgnomeprint-2.2 
-I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 
-I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include 
-I/sw/include/libart-2.0   -DENABLE_GTKSOURCEVIEW  
-DLOCALEDIR=\""/sw/share/locale"\" -DPREFIX=\""/sw"\" 
-DSYSCONFDIR=\""/sw/etc/conglomerate"\" -DDATADIR=\""/sw/share"\" 
-DLIBDIR=\""/sw/lib/conglomerate"\"   -no-cpp-precomp -I/sw/include  -g 
-O2 -c plugin-debug.c
plugin-debug.c:38: warning: `dump_area_tree_doc_filter' defined but not 
used
plugin-debug.c:50: warning: `dump_area_tree_action_callback' defined 
but not used
make[2]: *** [plugin-debug.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

So I'll guess that we need a configure test so that if --enable-werror 
is activated, then --enable-debug-plugin is also activated, in case the 
user/maintainer does not/cannot use the autogen.sh file (this is the 
case on Mac). It may also been something I'll make just for Fink 
package if it is more convenient or if the error does not appear on 
other system, of course.

As for using it, it is very very slow, about 20 minutes to load the 
tree, then another 20 minutes to enlarge the raw part and 78% CPU. 
Meanwhile all is frozen (could it be detached?).

Do you have this timing?

Michèle
<http://micmacfr.homeunix.org>

_______________________________________________
Conglomerate-devel mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/conglomerate-devel
PGP.sig (application/pgp-signature, 186 B) - not displayed