Module: Mesa
Branch: main
Commit: a99474fae52db73a23861c2ba961ee5424222da5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a99474fae52db73a23861c2ba961ee5424222da5

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Sat Jun 19 00:02:52 2021 +0200

radv: Add -Wpointer-arith.

Gives earlier indications of MSVC issues.

Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11478>

---

 src/amd/vulkan/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index 60e28724e5d..f3c4363d794 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -102,7 +102,7 @@ if not with_platform_windows
 endif
 
 radv_deps = []
-radv_flags = cc.get_supported_arguments(['-Wimplicit-fallthrough', '-Wshadow'])
+radv_flags = cc.get_supported_arguments(['-Wimplicit-fallthrough', '-Wshadow', 
'-Wpointer-arith'])
 
 if with_platform_x11
   radv_deps += dep_xcb_dri3

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to