diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-05-05 22:21:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-05 10:21:30 -0400 |
| commit | e69c23e596baf082d928bd18dc364ea6f846c457 (patch) | |
| tree | a2f2463cb1f2e73a2e26c0641625c8ef51d79c11 /premake5.lua | |
| parent | 662ef3ed90cd96435c05096c50f3486a1a6e9d18 (diff) | |
Squash a couple of warnings on clang (#2870)
* Squash a couple of warnings on clang
Redisable -Wunused-local-typedefs
* unused variable
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 06da86754..44a0da437 100644 --- a/premake5.lua +++ b/premake5.lua @@ -367,7 +367,11 @@ workspace "slang" -- Disable some warnings filter { "toolset:clang or gcc*" } - buildoptions { "-Wno-switch", "-Wno-parentheses" } + buildoptions { + "-Wno-switch", + "-Wno-parentheses", + "-Wno-unused-local-typedefs", + } filter { "toolset:gcc*", "language:C++" } buildoptions { "-Wno-class-memaccess" } filter { "toolset:clang or gcc*", "language:C++" } |
