gcc.c (do_spec): Call "error" not "warning".
authorJeffrey A Law <law@cygnus.com>
Tue, 21 Jul 1998 07:52:35 +0000 (07:52 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 21 Jul 1998 07:52:35 +0000 (01:52 -0600)
        * gcc.c (do_spec): Call "error" not "warning".
Opps.

From-SVN: r21319

gcc/ChangeLog
gcc/gcc.c

index 4885641..7452e50 100644 (file)
@@ -1,5 +1,7 @@
 Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * gcc.c (do_spec): Call "error" not "warning".
+
        * configure.in: Fix minor problems with gas feature detection code.
        * configure: Rebuilt.
 
index da6425c..a1d2632 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4039,7 +4039,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
               %[...] modifies -D options the way %P does;
               %(...) uses the spec unmodified.  */
          case '[':
-           warning ("use of obsolete %%[ operator in specs");
+           error ("Warning: use of obsolete %%[ operator in specs");
          case '(':
            {
              char *name = p;