From 18854ff6cc1edff0dce796def3de579e1afa55b8 Mon Sep 17 00:00:00 2001 From: green Date: Fri, 6 Aug 2010 20:05:33 +0000 Subject: Remove warnings git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162959 138bc75d-0d04-0410-961f-82ee72b054a4 --- libffi/msvcc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libffi/msvcc.sh') diff --git a/libffi/msvcc.sh b/libffi/msvcc.sh index 23be1e30ea9..551c73d9655 100755 --- a/libffi/msvcc.sh +++ b/libffi/msvcc.sh @@ -42,7 +42,7 @@ # format and translated into something sensible for cl or ml. # -args="-nologo -W3" +args="-nologo" md=-MD cl="cl" ml="ml" @@ -108,7 +108,8 @@ do shift 1 ;; -Wall) - args="$args -Wall" + # -Wall on MSVC is overzealous. Use -W3 instead. + args="$args -W3" shift 1 ;; -Werror) -- cgit v1.2.1