[X2Go-Commits] [pale-moon] 30/294: Disable "helpful" MSVC warning about AVX instructions.
git-admin at x2go.org
git-admin at x2go.org
Sat Apr 27 08:57:43 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.
commit 9a090b7941c2d2f738d416ab32974eae8a5123b7
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date: Thu Feb 14 11:49:11 2019 +0100
Disable "helpful" MSVC warning about AVX instructions.
Tag #457.
---
old-configure.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/old-configure.in b/old-configure.in
index b727deb..58a1bc7 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -215,6 +215,12 @@ case "$target" in
# -Zc:sizedDealloc- disables C++14 global sized deallocation (see bug 1160146)
CXXFLAGS="$CXXFLAGS -Zc:sizedDealloc-"
+
+ # C4752: We explicitly use AVX instructions in only some libs, not global
+ # This is a pointless "helpful warning" to use /arch:AVX which we don't want.
+ CFLAGS="$CFLAGS -wd4752"
+ CXXFLAGS="$CXXFLAGS -wd4752"
+
# https://connect.microsoft.com/VisualStudio/feedback/details/888527/warnings-on-dbghelp-h
# for dbghelp.h, imagehlp.h, and shobj.h
# C4091: 'typedef ': ignored on left of '' when no variable is declared
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list