From 42dfdc9e5164d65aad27406a3ce494fc633261c8 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 6 Jan 2024 15:35:52 +0200 Subject: [PATCH] Compile sp_pedantic_test.cpp with -Wundef --- test/Jamfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index 92d64f1..e3ad4e6 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -375,11 +375,16 @@ compile-fail shared_from_fail.cpp ; compile-fail weak_from_fail.cpp ; compile sp_override_test.cpp ; + +local gcc-flags = -Wundef ; + compile sp_pedantic_test.cpp : pedantic msvc:on gcc:on + gcc:$(gcc-flags) clang:on + clang:$(gcc-flags) clang-15:-Wno-deprecated-builtins ;