Bug 554851: MSVC warning C4345 is lame. r=lw

This commit is contained in:
Robert Sayre 2010-04-01 16:50:57 -04:00
parent 8f95952051
commit c64a283ee1

View File

@ -447,6 +447,8 @@ case "$target" in
# Make sure compilers are valid # Make sure compilers are valid
CFLAGS="$CFLAGS -TC -nologo" CFLAGS="$CFLAGS -TC -nologo"
CXXFLAGS="$CXXFLAGS -TP -nologo" CXXFLAGS="$CXXFLAGS -TP -nologo"
# MSVC warning C4345 warns of newly conformant behavior as of VS2003.
CXXFLAGS="$CXXFLAGS -wd4345"
AC_LANG_SAVE AC_LANG_SAVE
AC_LANG_C AC_LANG_C
AC_TRY_COMPILE([#include <stdio.h>], AC_TRY_COMPILE([#include <stdio.h>],