From b26f77e2dc465fabc3ef220b1feabea951640031 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 2 May 2026 22:33:32 +0800 Subject: Don't treat SFINAE incomplete as error on GCC for compiling using GCC 16 on Fedora 44. --- indra/llui/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt index 83b3a220a0..9077670b67 100644 --- a/indra/llui/CMakeLists.txt +++ b/indra/llui/CMakeLists.txt @@ -274,6 +274,10 @@ target_link_libraries(llui include(LibraryInstall) +if (CMAKE_CXX_COMPILER_ID MATCHES GNU) + set_source_files_properties(llxuiparser.cpp PROPERTIES COMPILE_FLAGS -Wno-sfinae-incomplete) +endif () + # Add tests if(LL_TESTS) include(LLAddBuildTest) -- cgit v1.3