]> gcc.gnu.org Git - gcc.git/commitdiff
(grokdeclarator): Never warn about `long long' in system header.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 22:47:21 +0000 (18:47 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 22:47:21 +0000 (18:47 -0400)
From-SVN: r7158

gcc/c-decl.c

index 7dd5fbc08bffacafe963b44b38d1209dfd5c4297..a6cfe788d5d07a66271668cd64b3713ef6ef35f3 100644 (file)
@@ -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;
                      }
This page took 0.064877 seconds and 5 git commands to generate.