From 8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 1 Jun 2024 13:58:36 +0100 Subject: Fix setting of pedantic warnings Disable for Clang, because annoyingly to treats preprocessor line numbers as a GNU extension and thus falls over when used with DistCC. --- Jamroot.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 712ad63..2c900ae 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -71,13 +71,13 @@ lib ilt : : GLM_FORCE_SWIZZLE GLM_ENABLE_EXPERIMENTAL - debug:pedantic + gcc,debug:pedantic + clang,debug:extra debug:on debug:-Wnon-virtual-dtor debug:-Wcast-align debug:-Wunused debug:-Woverloaded-virtual - debug:-Wpedantic debug:-Wconversion debug:-Wsign-conversion debug:-Wnull-dereference -- cgit v1.2.3