diff options
author | dan sinclair <dsinclair@chromium.org> | 2022-12-15 19:45:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 19:45:22 -0500 |
commit | af97b8531b219f968640f8c9d84daa957a93f1dc (patch) | |
tree | a3848a66fd8e73dc7bbf51d7889d667da0f4badc | |
parent | 98d08e0dd34dae2f0b3fbe521610833ebb64497a (diff) | |
download | amber-af97b8531b219f968640f8c9d84daa957a93f1dc.tar.gz |
Disable -Wcast-function-type-strict (#1010)
This CL turns off -Wcast-function-type-strict as it triggers on casts of
the vulkan function pointers when casting the pointer returned by
`getInstanceProcAddr`.
Fixes #1009
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5590483..248113f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,6 +208,7 @@ function(amber_default_compile_options TARGET) -Wall -Werror -Wextra + -Wno-cast-function-type-strict -Wno-padded -Wno-switch-enum -Wno-unknown-pragmas |