Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253239: Disable VS warning C4307
Reviewed-by: mdoerr, erikj
  • Loading branch information
MBaesken committed Sep 18, 2020
1 parent 05572e8 commit 52c28b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make/autoconf/flags-cflags.m4
Expand Up @@ -134,6 +134,10 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL="-W3"
DISABLED_WARNINGS="4800"
if test "x$TOOLCHAIN_VERSION" = x2017; then
# VS2017 incorrectly triggers this warning for constexpr
DISABLED_WARNINGS+=" 4307"
fi
;;
gcc)
Expand Down

1 comment on commit 52c28b8

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 52c28b8 Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.