From 0deb77b18078dd6269df9e98f59805bd51e7079a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 7 Feb 2008 13:07:19 +0000 Subject: [PATCH] Unfortunately the mingw implementations of C99-style snprintf and 2008-02-07 Tor Lillqvist * configure.in: Unfortunately the mingw implementations of C99-style snprintf and vsnprintf don't seem to be quite good enough, at least not in mingw-runtime-3.14. I don't know exactly what the problem is, but it is related to floating point formatting and decimal point vs. comma, and the symptoms show up in some dialogs in GIMP, presumably also elsewhere. The simple tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't rigorous enough to notice, though. So preset ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no". svn path=/trunk/; revision=6482 --- ChangeLog | 12 ++++++++++++ configure.in | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2799940a..456be176 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2008-02-07 Tor Lillqvist + + * configure.in: Unfortunately the mingw implementations of + C99-style snprintf and vsnprintf don't seem to be quite good + enough, at least not in mingw-runtime-3.14. I don't know exactly + what the problem is, but it is related to floating point + formatting and decimal point vs. comma, and the symptoms show up + in some dialogs in GIMP, presumably also elsewhere. The simple + tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't + rigorous enough to notice, though. So preset + ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no". + 2008-02-07 12:58:54 Tim Janik * Makefile.am: fixed build order to build gobject after gmodule gthread diff --git a/configure.in b/configure.in index 706e8e37..c76a04ef 100644 --- a/configure.in +++ b/configure.in @@ -124,6 +124,15 @@ case "$host" in GTHREAD_DEF=gthread.def TESTGMODULE_EXP=testgmodule.exp glib_pid_type='void *' + # Unfortunately the mingw implementations of C99-style snprintf and vsnprintf + # don't seem to be quite good enough, at least not in mingw-runtime-3.14. + # (Sorry, I don't know exactly what is the problem, but it is related to + # floating point formatting and decimal point vs. comma.) + # The simple tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't + # rigorous enough to notice, though. + # So preset the autoconf cache variables. + ac_cv_func_vsnprintf_c99=no + ac_cv_func_snprintf_c99=no ;; *) glib_native_win32=no -- 2.34.1