From a7324ce8fb8d0c5fe22b7b80791e21c47066c37d Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 11 Oct 2024 16:50:14 -0700 Subject: [PATCH] what happens if we remove the flag --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6476d8c9..a59174f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,7 +124,7 @@ endif() if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # Some gcc versions treat var in `if (type var = val)` as unused # Some gcc versions treat variables used in constexpr if blocks as unused - list(APPEND LUAU_OPTIONS -Wno-unused) + # list(APPEND LUAU_OPTIONS -Wno-unused) # GCC has some bugs where we optional is treated as uninitialized if it is on a structg endif()