From 5e32db3398ffd22d160bfab1c5bb72364ae4a6ac Mon Sep 17 00:00:00 2001 From: "Carlos E. Ugarte" Date: Tue, 3 Feb 2026 15:28:56 +0000 Subject: [PATCH 1/2] Fix annoying compiler Notes for "when C++17 is enabled changed to match C++14 in GCC 10.1" #571 --- platforms/linux/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/linux/CMakeLists.txt b/platforms/linux/CMakeLists.txt index 017bf6774..5786ee6e0 100644 --- a/platforms/linux/CMakeLists.txt +++ b/platforms/linux/CMakeLists.txt @@ -25,6 +25,7 @@ target_compile_options (slideruleLib PUBLIC -Wall) # turn on "all" warnings target_compile_options (slideruleLib PUBLIC -Wextra) # turn on "extra" warnings target_compile_options (slideruleLib PUBLIC -Wreorder) # turn on warning for object initializer list order enforcement target_compile_options (slideruleLib PUBLIC -Wshadow) # turn on warning for inner scope var with same name as outer scope var +target_compile_options (slideruleLib PUBLIC -Wno-psabi) # suppress ABI compatibility notes (e.g., C++17 parameter passing changes) target_compile_options (slideruleLib PUBLIC "$<$:-fstack-protector-all>") target_compile_definitions (slideruleLib PUBLIC "$<$:__no_unload__>") # don't unload dynamic modules when in debug so symbols available to address sanitizer postmortem From 4e2ec47d7f3699f506d393ce0b263f941992e985 Mon Sep 17 00:00:00 2001 From: "Carlos E. Ugarte" Date: Tue, 3 Feb 2026 16:45:56 +0000 Subject: [PATCH 2/2] Fix annoying compiler Notes for "when C++17 is enabled changed to match C++14 in GCC 10.1" #571 --- targets/slideruleearth/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/slideruleearth/Makefile b/targets/slideruleearth/Makefile index 15c199729..a82eacf9b 100644 --- a/targets/slideruleearth/Makefile +++ b/targets/slideruleearth/Makefile @@ -132,8 +132,8 @@ RELEASE_CFG := -DCMAKE_BUILD_TYPE=Release RELEASE_CFG += $(COMMON_CFG) all: ## build the server using the local configuration - make -j8 -C $(SLIDERULE_BUILD_DIR) - make -C $(SLIDERULE_BUILD_DIR) install + @set -o pipefail; make -j8 -C $(SLIDERULE_BUILD_DIR) 2>&1 | grep -v "parameter passing for argument of type.*when C..17 is enabled" || test $$? -eq 141 + @set -o pipefail; make -C $(SLIDERULE_BUILD_DIR) install 2>&1 | grep -v "parameter passing for argument of type.*when C..17 is enabled" || test $$? -eq 141 prep: ## create temporary directories needed for build mkdir -p $(SLIDERULE_BUILD_DIR)