Commit aac625ac by Kaveh R. Ghazi Committed by Kaveh Ghazi

* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.

From-SVN: r35899
parent 126bb9ed
2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* vax.h (ASM_SPEC): Pass `-J' to assembler.
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment