[Mono-devel-list] libgdiplus 1.1.5 - conflicting types

Jonathan J. Vargas R. jonathan.j.vargas at gmail.com
Thu Apr 7 15:41:24 EDT 2005


hi

libgdiplus 1.1.5 is not compiling because of a type conflict.

src/gifcodec.c defines two versions of a function differing by an
unsigned parameter.. in the header src/gifcodec.h there is only one
version of the function.

[gifcodec.h]
GpStatus gdip_save_gif_image_to_file (char *filename, GpImage *image);

[gifcodec.c]

GpStatus gdip_save_gif_image_to_file (unsigned char *filename, GpImage *image)
{
  return UnknownImageFormat;
}

GpStatus gdip_save_gif_image_to_file (char *filename, GpImage *image)
{
  return gdip_save_gif_image ( (void *)filename, image, TRUE);
}


--
Jonathan J. Vargas Rodriguez
jonathan.j.vargas at gmail.com
"Conservar el silencio interior cuando vuelo en la tormenta me es
mejor, porque asi ya no soy otra gota de la tempestad"



More information about the Mono-devel-list mailing list