Skip to content

Commit 43df67c

Browse files
authored
Merge pull request #775 from Nordix/fix-warnings
Correct build warnings on Linux and macOS
2 parents 5c50a67 + 5d04ff1 commit 43df67c

14 files changed

+1111
-200
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
sudo apt update -qq
2525
sudo apt install libcppunit-dev libbotan-2-dev p11-kit
2626
- name: Build
27+
env:
28+
CXXFLAGS: -Werror -DBOTAN_NO_DEPRECATED_WARNINGS
2729
run: |
2830
./autogen.sh
2931
./configure --with-crypto-backend=${{ matrix.backend }}
@@ -49,6 +51,8 @@ jobs:
4951
run: |
5052
brew install automake libtool cppunit botan@2
5153
- name: Build
54+
env:
55+
CXXFLAGS: -Werror -DBOTAN_NO_DEPRECATED_WARNINGS
5256
run: |
5357
./autogen.sh
5458
./configure --with-crypto-backend=${{ matrix.backend }} ${{ matrix.extra-options }}

0 commit comments

Comments
 (0)