diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8bb3f7bbe..d03721891 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -153,7 +153,7 @@ jobs: -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ -DCMAKE_CXX_FLAGS="\ - -Wall -Wextra -Wpedantic \ + -Wall -Wextra -Wpedantic -Wno-sign-compare \ -Werror=vla \ -Werror=implicit-fallthrough \ ${CMAKE_CXX_FLAGS}" \ diff --git a/include/ddc/kernels/splines/spline_builder.hpp b/include/ddc/kernels/splines/spline_builder.hpp index 2002d2658..18dabd7bb 100644 --- a/include/ddc/kernels/splines/spline_builder.hpp +++ b/include/ddc/kernels/splines/spline_builder.hpp @@ -275,8 +275,8 @@ void SplineBuilder< operator()( ddc::ChunkSpan, Layout, MemorySpace> spline, ddc::ChunkSpan vals, - std::optional const derivs_xmin, - std::optional const derivs_xmax) const + [[maybe_unused]] std::optional const derivs_xmin, + [[maybe_unused]] std::optional const derivs_xmax) const { assert(vals.template extent() == ddc::discrete_space().nbasis() - s_nbe_xmin - s_nbe_xmax);