aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
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;