From e69c23e596baf082d928bd18dc364ea6f846c457 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Fri, 5 May 2023 22:21:30 +0800 Subject: Squash a couple of warnings on clang (#2870) * Squash a couple of warnings on clang Redisable -Wunused-local-typedefs * unused variable --- premake5.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'premake5.lua') 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++" } -- cgit v1.2.3