Re: gtk 2.2.1 msvc compile error

Hans Breuer <[email protected]> Sun, 30 Mar 2003 11:51:11 +0200
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
At 15:31 30.03.03 +1000, Peter Zelezny wrote:
>Hi All,
>
>I know the msvc makefiles are a little outdated, but it looks like a
problem in the
>code here:
>
It isn't (I definitely should check this in some time soon). It's
the definition of GDK_PIXBUF_ENABLE_BACKEND missing in makefile.msc

>gdk-pixbuf-io.c
>gdk-pixbuf-io.c(436) : error C2091: function returns function
>gdk-pixbuf-io.c(436) : error C2091: function returns function
>gdk-pixbuf-io.c(437) : error C2091: function returns function
>gdk-pixbuf-io.c(437) : error C2091: function returns function
>...snip...
>
>These lines have the error:
>
>module (png);
>module (bmp);
>module (wbmp);
>module (gif);
>
>Which is defined as:
>
>#define module(type) \
>  extern void MODULE_ENTRY (type, fill_info)   (GdkPixbufFormat *info);   \
>  extern void MODULE_ENTRY (type, fill_vtable) (GdkPixbufModule *module)
>
>The problem is, MODULE_ENTRY is NOT defined anywhere. Not in any makefiles,
>C files, H files. What is it supposed to do? I couldn't even find it in the
>GCC Makefile.am.
>
It defines a module entry, i.e. the format loader entry point name
for either builtin modules or external modules. It's defined
in gdk-pixbuf-private.h

	Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert