Ah, you've run into some peculiarity with mingw32-jpeg. For a variety
of good reasons I don't entirely remember, mingw32-jpeg's boolean has
been renamed to jpeg_boolean. Just using jpeg_boolean instead of
boolean should fix your issue and enable you to have jpeg support. If
you want to search the archives, it was Erik van Pienbroek who made
the change...

Stefan

2009/12/14, aaron lwe <[email protected]>:
>>>You'll probably want to have a look at the configure.{in,ac} file to
>>>see what causes this error.  But the error itself is pretty clear: C
>>>doesn't define a type called "boolean"!  The code should probably be
>>>using _Bool instead (standardized in C99).
>
> I look into configure.in and found the following statements:
>
>                     dnl boolean is defined by the jpeg headers and also by
> the
>                     dnl Windows headers of some compilers. This type has
> been
>                     dnl renamed in the builtin, so it is only an issue when
>                     dnl using an external jpeg lib on Windows.
>
> I have mingw32-libjpeg installed under fedora 12 but not fedora 11, so
> I guess this is the problem. I've disabled the build of the jpeg
> support and the problem is gone.
>
> Thanks.
> _______________________________________________
> fedora-mingw mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
>
_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to