diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-04-03 11:47:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 20:47:10 -0700 |
| commit | 7a346b2982c69ef97ebc4b308c77a1f1c88c548f (patch) | |
| tree | e58d3a68b4640138bd57e4209aee0c92d4f5fcf4 /premake5.lua | |
| parent | 271ae7165915cf9910e2de0224159ea0fdd8ce72 (diff) | |
Squash some warnings (#2765)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 7635e1df1..8475a316d 100644 --- a/premake5.lua +++ b/premake5.lua @@ -354,7 +354,7 @@ workspace "slang" -- Warnings buildoptions { "-Wno-unused-but-set-variable", "-Wno-unused-parameter", "-Wno-type-limits", "-Wno-sign-compare", "-Wno-unused-variable", "-Wno-switch", "-Wno-return-type", "-Wno-unused-local-typedefs", "-Wno-parentheses" } filter { "toolset:clang or gcc*", "language:C++" } - buildoptions { "-Wno-reorder", "-Wno-class-memaccess"} + buildoptions { "-Wno-reorder", "-Wno-class-memaccess", "-Wno-invalid-offsetof" } filter { "toolset:gcc*" } buildoptions { "-Wno-implicit-fallthrough", "-Wno-maybe-uninitialized" } |
