diff options
author | 2023-03-07 04:19:36 +1100 | |
---|---|---|
committer | 2023-03-07 04:19:36 +1100 | |
commit | dc87571a43cc4674a13bbd8ccd1aa837fb8009b3 (patch) | |
tree | 22ba681e87629ca975faadee91039828a5ef6e84 /scripts/src/3rdparty.lua | |
parent | b5475eb38b8b79a13a0a9e8a6cb68755b84f0c7b (diff) |
3rdparty: Avoid the need for -fpermissive since clang doesn't like it.
I'll try to get some of this upstreamed.
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r-- | scripts/src/3rdparty.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 8e44414ec55..5d98eba82cb 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -936,9 +936,8 @@ project "lualibs" } configuration { "gmake or ninja" } - buildoptions { -- Lua SQLite3, Lua filesystem and Lua zlib don't cast pointers* explicitly - "-Wno-error", - "-fpermissive", + buildoptions { + "-Wno-error=unused-variable", } configuration { "vs*" } @@ -1680,9 +1679,9 @@ project "linenoise" } configuration { "gmake or ninja" } - buildoptions { -- implicit pointer conversions - "-Wno-error", - "-fpermissive", + buildoptions { + "-Wno-error=unused-variable", + "-Wno-error=implicit-fallthrough", } configuration { "vs*" } |