mirror of https://github.com/mstorsjo/fdk-aac.git
ci: Disable warnings about deprecated functions on macOS
macOS has marked the function vsprintf deprecated; this is used in FDKsprintf with a number of uses in the codebase, that aren't entirely trivial to move over to vsnprintf.
This commit is contained in:
parent
fc773cca67
commit
23b030f80e
|
@ -35,7 +35,7 @@ jobs:
|
|||
run: |
|
||||
./autogen.sh
|
||||
./configure --enable-example
|
||||
make -j$(sysctl -n hw.ncpu) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
|
||||
make -j$(sysctl -n hw.ncpu) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror -Wno-deprecated-declarations"
|
||||
|
||||
macos-cmake:
|
||||
runs-on: macos-latest
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: |
|
||||
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"
|
||||
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror -Wno-deprecated-declarations"
|
||||
cmake --build build
|
||||
|
||||
mingw-cross-autotools:
|
||||
|
|
Loading…
Reference in New Issue