Compiling glib-2.20.5 on SnowLeopard



Dear all,

when trying to compile glib-2.20.5 on a SnowLeopard system,
the compilation of glib/gconvert.c fails, when compiling as
a 64-bot binary.

To fix the problem, one has to replace

#if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
#error GNU libiconv not in use but included iconv.h is from libiconv
#endif

by

#if !(defined(__APPLE__) && defined(__LP64__)) && ! defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
#error GNU libiconv not in use but included iconv.h is from libiconv
#endif

Any chance to get this into a future release of glib?
Or is there a better fix?

Best regards
Michael



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