mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
what happens if we remove the flag
This commit is contained in:
parent
03c9fa721e
commit
a7324ce8fb
@ -124,7 +124,7 @@ endif()
|
|||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
# Some gcc versions treat var in `if (type var = val)` as unused
|
# Some gcc versions treat var in `if (type var = val)` as unused
|
||||||
# Some gcc versions treat variables used in constexpr if blocks 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<string> is treated as uninitialized if it is on a structg
|
# GCC has some bugs where we optional<string> is treated as uninitialized if it is on a structg
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user