[vlc-devel] commit: FIX mingw runtime 3.15 is the minimun (basos G )

git version control git at videolan.org
Fri Apr 17 18:46:05 CEST 2009


vlc | branch: master | basos G <noxelia 4t gmail , com> | Fri Apr 17 17:37:03 2009 +0300| [d385b8dc4b24c5b87ef1724d9de93c1730dffe24] | committer: Jean-Baptiste Kempf 

FIX mingw runtime 3.15 is the minimun

An issue regrading %zu vasprintf NOT being recognized
by mingw runtime's 3.14 is fixed with an upgrade to 3.15
So make this the least required standart.
Note that this issue lead to a vlc early crash on windows
and is generally toxic on cases where %s is following a
misinterpreted %zu

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d385b8dc4b24c5b87ef1724d9de93c1730dffe24
---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9bd2c24..9a14a0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -475,14 +475,14 @@ AS_IF([test "${SYS}" = "mingw32"], [
     AC_MSG_CHECKING(for broken mingw-runtime)
     AC_PREPROC_IFELSE([
 #include <_mingw.h>
-#if (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION < 14)
+#if (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION < 15)
 # error Attempting to use mingw-runtime with broken vsnprintf support
 #endif
 ], [
         AC_MSG_RESULT([ok])
 ], [
         AC_MSG_RESULT([present])
-        AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.14 or higher!])
+        AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.15 or higher!])
 ])
     dnl force use of mingw provided c99 *printf over msvcrt
     CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"




More information about the vlc-devel mailing list