mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
replicate changes to cmakelists
This commit is contained in:
parent
268e0b2ab7
commit
fb8c190849
@ -124,6 +124,8 @@ 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)
|
||||
# some gcc versions warn maybe uninitialized on optional<string> members on structs
|
||||
list(APPEND LUAU_OPTIONS -Wno-maybe-uninitialized)
|
||||
endif()
|
||||
|
||||
# Enabled in CI; we should be warning free on our main compiler versions but don't guarantee being warning free everywhere
|
||||
|
Loading…
Reference in New Issue
Block a user