aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-25 18:47:21 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-25 18:47:21 -0400
commit5db1a3c46ed8340958ac9ca4effaa443d46a6c64 (patch)
tree20f74804b5f334affba776cf4ee0a878c62d3807 /gcc/c-decl.c
parentbb31ce0a4bb5f367b87663052b17f2d908070bea (diff)
downloadgcc-5db1a3c46ed8340958ac9ca4effaa443d46a6c64.zip
gcc-5db1a3c46ed8340958ac9ca4effaa443d46a6c64.tar.gz
gcc-5db1a3c46ed8340958ac9ca4effaa443d46a6c64.tar.bz2
(grokdeclarator): Never warn about `long long' in system header.
From-SVN: r7158
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 7dd5fbc..a6cfe78 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3957,7 +3957,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
error ("`long long long' is too long for GCC");
else
{
- if (pedantic)
+ if (pedantic && ! in_system_header)
pedwarn ("ANSI C does not support `long long'");
longlong = 1;
}