Commit 5db1a3c4 by Richard Kenner

(grokdeclarator): Never warn about `long long' in system header.

From-SVN: r7158
parent bb31ce0a
...@@ -3957,7 +3957,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) ...@@ -3957,7 +3957,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
error ("`long long long' is too long for GCC"); error ("`long long long' is too long for GCC");
else else
{ {
if (pedantic) if (pedantic && ! in_system_header)
pedwarn ("ANSI C does not support `long long'"); pedwarn ("ANSI C does not support `long long'");
longlong = 1; longlong = 1;
} }
......
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