Skip to content

Instantly share code, notes, and snippets.

@TingPing
Created December 20, 2013 16:24
Show Gist options
  • Save TingPing/4e8ec71521f191578016 to your computer and use it in GitHub Desktop.
Save TingPing/4e8ec71521f191578016 to your computer and use it in GitHub Desktop.
--- configure.in.orig 2013-08-09 18:07:38 -0400
+++ configure.in 2013-08-09 18:13:15 -0400
@@ -665,6 +665,11 @@
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
+ elif test "$_CC_MAJOR_VERSION" = "17"; then
+ _CC_SUITE=11
+ CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
+ AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
+ AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
else
AC_MSG_ERROR([This version ($CC_VERSION) of the MSVC compiler is unsupported. See https://developer.mozilla.org/en/Windows_Build_Prerequisites.])
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment