aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 3e131cc..74bef88 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -413,7 +413,7 @@ unop: '&'
| '+'
{ $$ = CONVERT_EXPR;
ifc
- if (warn_traditional)
+ if (warn_traditional && !in_system_header)
warning ("traditional C rejects the unary plus operator");
end ifc
}