From b618e8c4efe75398b380a02a61d678c7bd8b925c Mon Sep 17 00:00:00 2001 From: Milan Straka Date: Wed, 11 Sep 2024 15:11:12 +0200 Subject: [PATCH] Ignore deprecated declarations on mac OS, namely sprintf. --- .github/workflows/compile.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 75ca381..525e152 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -35,8 +35,10 @@ jobs: platform: win-vs-64 - os: macos-13 platform: macos-clang-64 + c_flags: -Wnodeprecated-declarations - os: macos-14 platform: macos-clang-arm64 + c_flags: -Wnodeprecated-declarations steps: - uses: actions/checkout@v3 @@ -54,7 +56,7 @@ jobs: - name: Compile src run: make PLATFORM=${{ matrix.platform }} -k -C src full env: - C_FLAGS: $(treat_warnings_as_errors) + C_FLAGS: $(treat_warnings_as_errors) ${{ matrix.c_flags }} - name: Compile tests run: make PLATFORM=${{ matrix.platform }} -k -C tests all