From caecd994419bfaf395b192d23b4ad2c4359239cf Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 4 Mar 2022 17:29:53 -0600 Subject: [PATCH] Workaround: Clang compiler problems, add _clang_not_a_compile_time_constant_workaround_. This should also be added to the level_0 and monolithic build settings files. --- build/level_0/settings | 1 + build/monolithic/settings | 1 + 2 files changed, 2 insertions(+) diff --git a/build/level_0/settings b/build/level_0/settings index 84a3446..746ff50 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -124,6 +124,7 @@ search_static yes #defines -D_di_libcap_ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-clang -D_clang_not_a_compile_time_constant_workaround_ defines-level defines-level_threadless -D_di_pthread_support_ defines_library diff --git a/build/monolithic/settings b/build/monolithic/settings index 013bfad..5af63af 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -170,6 +170,7 @@ search_static yes #defines -D_di_libcap_ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-clang -D_clang_not_a_compile_time_constant_workaround_ defines-monolithic defines-monolithic_threadless -D_di_pthread_support_ defines_library -- 1.8.3.1