aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2023-10-06 12:29:42 +0300
committerMartin Storsjo <martin@martin.st>2023-10-06 14:04:10 +0300
commit23b030f80e99459166bdc22282c2c96f4f384368 (patch)
tree7e2ca3334e3e47c82a3833632cc7701468a24ee5 /.github/workflows/ci.yml
parentfc773cca673965b1fbc69a121cdce1566af9749c (diff)
downloadfdk-aac-23b030f80e99459166bdc22282c2c96f4f384368.tar.gz
fdk-aac-23b030f80e99459166bdc22282c2c96f4f384368.tar.bz2
fdk-aac-23b030f80e99459166bdc22282c2c96f4f384368.zip
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.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c7134ae..9c406fc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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: