aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2024-03-18 10:39:35 +0100
committerjoergho <48011876+joergho@users.noreply.github.com>2024-03-28 11:50:40 +0100
commit5e4abd5e06e30cc3a4b303267d4925def7483114 (patch)
treea834621e8244bd03e5672d16f56df8cbcba080d3
parenthost/lib: uhd-dpdk: fix issue compiling with gcc 13.2 (diff)
downloaduhd-5e4abd5e06e30cc3a4b303267d4925def7483114.tar.xz
uhd-5e4abd5e06e30cc3a4b303267d4925def7483114.zip
ci: UHD make: tolerate warning deprecated-declarations
This allows building with the following warning on Ubuntu 24.04: warning: 'std::string boost::filesystem::extension(const path&)' is deprecated: Use path::extension() instead [-Wdeprecated-declarations]
-rw-r--r--.ci/templates/steps-build-uhd-make.yml2
-rw-r--r--.ci/templates/steps-build-uhd-ninja.yml2
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 b88581c54..04d910cfd 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 $CXXFLAGS"
+ export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $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 48b0a424d..904942212 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 $CXXFLAGS"
+ export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS"
fi
export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS"
cmake -G Ninja ${{ parameters.uhdSrcDir }}/host