aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/gcc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4885641..7452e50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index da6425c..a1d2632 100644
--- 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;