[vlc-commits] [Git][videolan/vlc][master] package/macosx: generate errors when wrong function pointers are used
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu May 4 12:31:12 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
84ce0d78 by Steve Lhomme at 2023-05-04T12:14:10+00:00
package/macosx: generate errors when wrong function pointers are used
- - - - -
1 changed file:
- extras/package/macosx/env.build.sh
Changes:
=====================================
extras/package/macosx/env.build.sh
=====================================
@@ -183,9 +183,9 @@ vlcSetLibVLCEnvironment() {
echo "Setting libVLC flags"
# Enable debug symbols by default
- export CFLAGS="-g -arch $ACTUAL_HOST_ARCH"
- export CXXFLAGS="-g -arch $ACTUAL_HOST_ARCH"
- export OBJCFLAGS="-g -arch $ACTUAL_HOST_ARCH"
+ export CFLAGS="-g -arch $ACTUAL_HOST_ARCH -Werror=incompatible-function-pointer-types"
+ export CXXFLAGS="-g -arch $ACTUAL_HOST_ARCH -Werror=incompatible-function-pointer-types"
+ export OBJCFLAGS="-g -arch $ACTUAL_HOST_ARCH -Werror=incompatible-function-pointer-types"
export LDFLAGS="-arch $ACTUAL_HOST_ARCH"
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/84ce0d78d570323c5f6d1a04848f95e5625d49ee
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/84ce0d78d570323c5f6d1a04848f95e5625d49ee
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