2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
authorTom Tromey <tromey@redhat.com>
Wed, 9 Jan 2002 21:17:42 +0000 (21:17 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 9 Jan 2002 21:17:42 +0000 (21:17 +0000)
* lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.

ChangeLog
THANKS
lib/depcomp

index 57054381b1cc03d4fa9714fdec4a1f708dd086c4..671b5fc0fa6860b5b0a73b8d5c4303f35d9b2f18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-09  Ryan T. Sammartino  <ryants@shaw.ca>
+
+       * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
+
 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.in (file_contents_internal): Introduce two variables,
diff --git a/THANKS b/THANKS
index fc409165d4a2dccc5fcc270ebb79a18b873ca80b..32f30f33feb8dde8f040f7a0a9d5cdf886179444 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -149,6 +149,7 @@ Robert Bihlmeyer    robbe@orcus.priv.at
 Robert Boehne          rboehne@ricardo-us.com
 Robert Collins         robert.collins@itdomain.com.au
 Rusty Ballinger                rusty@rlyeh.engr.sgi.com
+Ryan T. Sammartino     ryants@shaw.ca
 Sergey Vlasov          vsu@mivlgu.murom.ru
 Seth Alves             alves@hungry.com
 Shuhei Amakawa         <sa264@cam.ac.uk>
index 4c8d44bd182863133ce0c6c6a50abad3ad9a3aac..9ab71e2f2657d35e6c0a106ba29a86ed742331a7 100755 (executable)
@@ -383,6 +383,21 @@ msvisualcpp)
       done
       ;;
     esac
+    for arg
+    do
+      case "$arg" in
+      "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+       set fnord "$@"
+       shift
+       shift
+       ;;
+      *)
+       set fnord "$@" "$arg"
+       shift
+       shift
+       ;;
+      esac
+    done
     "$@" -E |
     sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
   ) &