Mesa (main): pvr: do not use c_msvc_compat_args

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 3 07:49:47 UTC 2022


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon May 23 14:01:36 2022 +0200

pvr: do not use c_msvc_compat_args

This code isn't MSVC compatible, as it uses VLAs (for instance).

Until there's a reason to support MSVC, let's not even try. Otherwise,
we make it harder than needed to add flags to make the MSVC compat flags
more complete.

Reviewed-by: Karmjit Mahil <Karmjit.Mahil at imgtec.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16670>

---

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

diff --git a/src/imagination/rogue/meson.build b/src/imagination/rogue/meson.build
index f3f6945d5cf..2431f4f1f0d 100644
--- a/src/imagination/rogue/meson.build
+++ b/src/imagination/rogue/meson.build
@@ -55,7 +55,7 @@ libpowervr_rogue = shared_library(
     inc_gallium,
     inc_gallium_aux,
   ],
-  c_args : [c_msvc_compat_args, no_override_init_args],
+  c_args : [no_override_init_args],
   gnu_symbol_visibility : 'hidden',
   dependencies : [idep_mesautil, idep_nir, dep_csbgen],
   install : true,



More information about the mesa-commit mailing list