From d74367b40d3a2680bbc371b72e294419093e1d83 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 29 Jul 2023 20:51:40 +0800 Subject: stringop truncation warnings aren't errors on GCC --- indra/newview/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 1dbaa7437c..e9218f466c 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1942,6 +1942,8 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU") llhttpretrypolicy.cpp llpanelface.cpp PROPERTIES COMPILE_FLAGS -Wno-maybe-uninitialized) + set_source_files_properties(llurl.cpp PROPERTIES COMPILE_FLAGS + -Wno-stringop-truncation) endif () if (LINUX) -- cgit v1.2.3