[vlc-commits] [Git][videolan/vlc][master] configure: add -Werror=int-conversion to extra compiler checks
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Dec 12 08:18:48 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
3dfc7ca7 by Steve Lhomme at 2023-12-12T08:02:49+00:00
configure: add -Werror=int-conversion to extra compiler checks
This corresponds to new errors in gcc 14 according to #28441
- - - - -
1 changed file:
- configure.ac
Changes:
=====================================
configure.ac
=====================================
@@ -1161,7 +1161,7 @@ AC_ARG_ENABLE([extra_checks],
[Turn some warnings into compilation error (default disabled)]),,
[enable_extra_checks="no"])
AS_IF([test "${enable_extra_checks}" = "yes"], [
- AX_APPEND_COMPILE_FLAGS([-Werror=missing-field-initializers -Werror=format -Werror=incompatible-pointer-types -Werror=restrict], [CFLAGS])
+ AX_APPEND_COMPILE_FLAGS([-Werror=missing-field-initializers -Werror=format -Werror=incompatible-pointer-types -Werror=restrict -Werror=int-conversion], [CFLAGS])
AC_LANG_PUSH(C++)
AX_APPEND_COMPILE_FLAGS([-Werror=missing-field-initializers -Werror=format], [CXXFLAGS])
AC_LANG_POP(C++)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3dfc7ca7e3c5df8d1026e9983167192ba6fe0ba7
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3dfc7ca7e3c5df8d1026e9983167192ba6fe0ba7
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list