gtk 2.2.1 msvc compile error

Peter Zelezny <[email protected]> Sun, 30 Mar 2003 15:31:51 +1000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Hi All,

I know the msvc makefiles are a little outdated, but it looks like a problem in the
code here:

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.

-- 
Peter Zelezny.