From 20b29c5ff56c605d52fb6e391c28daea26ab719a Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 28 Feb 2024 20:42:20 +0100 Subject: Core/Misc: Allow formatting optionals with Trinity::StringFormat --- cmake/compiler/clang/settings.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cmake/compiler/clang/settings.cmake') diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake index e8944bf3294..0fa27e6493c 100644 --- a/cmake/compiler/clang/settings.cmake +++ b/cmake/compiler/clang/settings.cmake @@ -140,11 +140,12 @@ endif() # -Wno-narrowing needed to suppress a warning in g3d # -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems. -# -Wno-deprecated-copy needed to suppress a warning in g3d +# -Wno-undefined-inline needed for a compile time optimization hack with fmt target_compile_options(trinity-compile-option-interface INTERFACE -Wno-narrowing - -Wno-deprecated-register) + -Wno-deprecated-register + -Wno-undefined-inline) if(BUILD_SHARED_LIBS) # -fPIC is needed to allow static linking in shared libs. -- cgit v1.2.3