[MPlayer-cvslog] r38674 - trunk/configure
komh
subversion at mplayerhq.hu
Fri Jan 24 14:25:18 EET 2025
Author: komh
Date: Fri Jan 24 14:25:17 2025
New Revision: 38674
Log:
Fix compilation errors due to a wrong declaration of iconv() on OS/2
Recent compilers such as GCC 14 generate errors for implicit casts.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Jan 8 16:47:42 2025 (r38673)
+++ trunk/configure Fri Jan 24 14:25:17 2025 (r38674)
@@ -1961,7 +1961,10 @@ if os2 ; then
test -n "$ld_static" && ld_static='-Wl,-static'
# OS/2 linker does not support a thin archive. Remove 'T' flag.
_arflags=$(echo $_arflags | tr -d T)
- extra_cflags="$extra_cflags -D_EMX_SOURCE"
+ # OS/2 iconv() has a different pointer declaration from POSIX. This has no
+ # problems up to GCC13, but since GCC14 this is treated as an errors.
+ # Treat it as warnings not errors.
+ extra_cflags="$extra_cflags -D_EMX_SOURCE -Wno-error=incompatible-pointer-types"
fi
if wine ; then
More information about the MPlayer-cvslog
mailing list