babl compilation fails on win32 with mingw: babl-palette.c:93:23: error: 'INT_MAX' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to compile babl-0.1.10 on windows using mingw and get the
following error:

babl-palette.c:93:23: error: 'INT_MAX' undeclared

--Full Output--
$ mingw32-make
C:/MinGW/bin/mingw32-make  all-recursive
mingw32-make[1]: Entering directory
`k:/daten/programmierung/libraries/babl-0.1. 10'
Making all in babl
mingw32-make[2]: Entering directory
`k:/daten/programmierung/libraries/babl-0.1. 10/babl'
Making all in base
mingw32-make[3]: Entering directory
`k:/daten/programmierung/libraries/babl-0.1. 10/babl/base'
mingw32-make[3]: Nothing to be done for `all'.
mingw32-make[3]: Leaving directory
`k:/daten/programmierung/libraries/babl-0.1.1 0/babl/base'
mingw32-make[3]: Entering directory
`k:/daten/programmierung/libraries/babl-0.1. 10/babl'
  CC     babl-palette.lo
babl-palette.c: In function 'babl_palette_lookup':
babl-palette.c:93:23: error: 'INT_MAX' undeclared (first use in this
function) babl-palette.c:93:23: note: each undeclared identifier is
reported only once for each function it appears in
mingw32-make[3]: *** [babl-palette.lo] Error 1
----


As far as I can see, INT_MAX is not being declared. I didn't find any
MAXINT either:

----
$ grep -R INT_MAX *
ChangeLog:    palette: use INT_MAX instead of MAXINT
babl/babl-palette.c:      int best_diff = INT_MAX;

$ grep -R MAXINT *
ChangeLog:    palette: use INT_MAX instead of MAXINT

$
----


Please help
Christoph
_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gegl-developer-list


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux