From 061eb674576157b72be23c9bc8c9d3ab905d280f Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 29 Jul 2023 14:35:02 +0800 Subject: So we don't get errors from uninitialised vars when compiling newview using GCC. --- indra/newview/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/CMakeLists.txt') diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index d6c8adfeab..1dbaa7437c 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1936,6 +1936,12 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set_source_files_properties(llappviewerlinux.cpp PROPERTIES COMPILE_FLAGS -Wno-dangling-gsl ) +elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU") + set_source_files_properties( + llface.cpp + llhttpretrypolicy.cpp + llpanelface.cpp + PROPERTIES COMPILE_FLAGS -Wno-maybe-uninitialized) endif () if (LINUX) -- cgit v1.2.3