[Mono-devel-list] Problems compiling libgdiplus-1.1.5
Peter Dennis Bartok
peter at novonyx.com
Wed Mar 30 05:13:01 EST 2005
This is already fixed in svn r42002. It was fixed after 1.1.5 was created.
Peter
-----Original Message-----
From: "Miquel Ramírez" <mvorkosigan at gmail.com>
To: <mono-devel-list at lists.ximian.com>
Date: 30 March, 2005 02:56
Subject: [Mono-devel-list] Problems compiling libgdiplus-1.1.5
>Hi,
>
>I have just came across following problem while trying to compile
>libdgiplus-1.1.5 with GIF support disabled:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libpixman/src -I../cairo/src
>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>-I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -g -O2
>-pthread -MT gifcodec.lo -MD -MP -MF .deps/gifcodec.Tpo -c gifcodec.c
>-fPIC -DPIC -o .libs/gifcodec.o
>gifcodec.c:515: error: conflicting types for `gdip_save_gif_image_to_file'
>gifcodec.h:24: error: previous declaration of `gdip_save_gif_image_to_file'
>
>Checking the code I saw that the function was declared as:
>
>GpStatus
>gdip_save_gif_image_to_file (char *filename, GpImage *image);
>
>
>but defined in the implementation source as:
>
>GpStatus
>gdip_save_gif_image_to_file (unsigned char *filename, GpImage *image)
>
>I first thought that gifcodec.c was being generated by autotools
>depending on the result of the tests on libungif, but I was not able
>to find any gifcodec.c.in or similar, so I suppose it is safe to just
>change the definition so that it matches the declaration found in the
>header.
>
>The trivial diff is attached.
>
>Miguel.
>
More information about the Mono-devel-list
mailing list