mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
update build flags
This commit is contained in:
parent
0276d18314
commit
b5d3544d18
@ -13,6 +13,7 @@
|
||||
|
||||
namespace Luau
|
||||
{
|
||||
|
||||
std::string DiffPathNode::toString() const
|
||||
{
|
||||
switch (kind)
|
||||
|
@ -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)
|
||||
# GCC has some bugs where we optional<string> is treated as uninitialized if it is on a structg
|
||||
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
|
||||
|
@ -463,10 +463,6 @@ TEST_CASE("proof_that_isBoolean_uses_all_of")
|
||||
CHECK(!isBoolean(&union_));
|
||||
}
|
||||
|
||||
|
||||
#if defined(__linux__) && defined(__GNUC__)
|
||||
#else
|
||||
|
||||
TEST_CASE("content_reassignment")
|
||||
{
|
||||
Type myAny{AnyType{}, /*presistent*/ true};
|
||||
@ -482,9 +478,5 @@ TEST_CASE("content_reassignment")
|
||||
CHECK(futureAny->documentationSymbol == "@global/any");
|
||||
CHECK(futureAny->owningArena == &arena);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
TEST_SUITE_END();
|
||||
|
Loading…
Reference in New Issue
Block a user