Re: gtk-doc problems



Oh, that's right. Tim disabled building the docs for GTK last time he
changed object args, and nobody has fixed gtk-doc yet. I guess that
needs to go to the top of my TODO list.

But, as for documentation for the window decoration thing, please do
them as inline doc comments anyways; just write them and let me worry
about building the docs :-)

                                        Owen


Alexander Larsson <alla lysator liu se> writes:

> When running make in docs/reference/gtk i get this:
> 
> gcc -g -O2 -g -Wall -I/opt/devel_fb/include/glib-2.0
> -I/opt/devel_fb/lib/glib-2.0/include -I../../.. -I../../../gdk
> -DGTK_DISABLE_COMPAT_H -DG_ENABLE_DEBUG -I/opt/devel_fb/include/pango-1.0
> -I/usr/include/freetype2 -I/opt/devel_fb/include/glib-2.0
> -I/opt/devel_fb/lib/glib-2.0/include -I/opt/devel_fb/include/glib-2.0
> -I/opt/devel_fb/lib/glib-2.0/include -c gtk-scan.c  -fPIC -DPIC -o
> gtk-scan.lo
> gtk-scan.c:788:14: warning: null character preserved
> gtk-scan.c: In function `get_type_name':
> gtk-scan.c:402: `GTK_TYPE_ARGS' undeclared (first use in this function)
> gtk-scan.c:402: (Each undeclared identifier is reported only once
> gtk-scan.c:402: for each function it appears in.)
> gtk-scan.c:403: `GTK_TYPE_FOREIGN' undeclared (first use in this function)
> gtk-scan.c:404: `GTK_TYPE_CALLBACK' undeclared (first use in this
> function)
> gtk-scan.c:405: `GTK_TYPE_C_CALLBACK' undeclared (first use in this
> function)
> gtk-scan.c: In function `output_widget_args':
> gtk-scan.c:782: warning: implicit declaration of function
> `gtk_object_query_args'
> gtk-scan.c:782: warning: assignment makes pointer from integer without a
> cast
> Compilation of scanner failed
> make[1]: *** [scan] Error 1
> make[1]: Leaving directory
> `/home/alex/cvs/gnome/fb/gtk+/docs/reference/gtk'
> make: *** [gtk-decl.txt] Error 2
> 
> I just updated gtk-doc from cvs. I don't know what to do, so i'll just
> check in the window decoration things now and document it later.
> 
> / Alex




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]