[gjs/master.msvc: 1/2] meson.build: Ignore warning C5030 on Visual Studio
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/master.msvc: 1/2] meson.build: Ignore warning C5030 on Visual Studio
- Date: Thu, 29 Apr 2021 08:10:13 +0000 (UTC)
commit f80a945ec0e245f7171d43589c654cbb0c7ffc1d
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Apr 29 16:04:14 2021 +0800
meson.build: Ignore warning C5030 on Visual Studio
We are now using C++17 attributes in place of the GLib macros as needed, so we
can ignore warning C5030 that comes from attributes that are not recognized by
the compiler, in particular the GCC-specific ones, since they simply not apply
for Visual Studio builds.
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 272f2033..790a3d19 100644
--- a/meson.build
+++ b/meson.build
@@ -48,6 +48,7 @@ if cc.get_id() == 'msvc'
'-wd4251',
'-wd4291',
'-wd4800',
+ '-wd5030',
]), language: ['cpp', 'c'])
else
# Ignore spurious compiler warnings for things that GLib and SpiderMonkey
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]