diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-14 11:49:11 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-14 11:49:11 +0100 |
commit | 9a090b7941c2d2f738d416ab32974eae8a5123b7 (patch) | |
tree | d1a19110c258fd84ce3bfc807c61398be93e9b48 | |
parent | f595579f07a1f2787f668eee7ca441caa114bfdd (diff) | |
download | UXP-9a090b7941c2d2f738d416ab32974eae8a5123b7.tar UXP-9a090b7941c2d2f738d416ab32974eae8a5123b7.tar.gz UXP-9a090b7941c2d2f738d416ab32974eae8a5123b7.tar.lz UXP-9a090b7941c2d2f738d416ab32974eae8a5123b7.tar.xz UXP-9a090b7941c2d2f738d416ab32974eae8a5123b7.zip |
Disable "helpful" MSVC warning about AVX instructions.
Tag #457.
-rw-r--r-- | old-configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in index b727debc7..58a1bc7fa 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 |