From 79335ebcd8b25c3a5d4aa18bdb0030ced4d0b5a3 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 28 Mar 2024 17:32:06 +0100 Subject: [PATCH] Revert "ci: UHD make: tolerate warning deprecated-declarations" This reverts commit 5e4abd5e06e30cc3a4b303267d4925def7483114. After fixing the deprecated usage, this is no longer necessary. --- .ci/templates/steps-build-uhd-make.yml | 2 +- .ci/templates/steps-build-uhd-ninja.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/templates/steps-build-uhd-make.yml b/.ci/templates/steps-build-uhd-make.yml index 04d910cfdb..b88581c54c 100644 --- a/.ci/templates/steps-build-uhd-make.yml +++ b/.ci/templates/steps-build-uhd-make.yml @@ -60,7 +60,7 @@ steps: fi if [[ "${{ parameters.uhdAllowWarnings }}" = "False" ]]; then echo "Warnings not allowed for this build." - export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS" + export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized $CXXFLAGS" fi export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS" if [[ "${{ parameters.uhdCustomBoostPackage }}" = "True" ]]; then diff --git a/.ci/templates/steps-build-uhd-ninja.yml b/.ci/templates/steps-build-uhd-ninja.yml index 9049422121..48b0a424d3 100644 --- a/.ci/templates/steps-build-uhd-ninja.yml +++ b/.ci/templates/steps-build-uhd-ninja.yml @@ -16,7 +16,7 @@ steps: cd ${{ parameters.uhdBuildDir }} if [[ "${{ parameters.uhdAllowWarnings }}" = "False" ]]; then echo "Warnings not allowed for this build." - export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS" + export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized $CXXFLAGS" fi export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS" cmake -G Ninja ${{ parameters.uhdSrcDir }}/host