Hi,

I'm going to fix this very, very old (for sure in 2008 it was already there) typo.

Thanks,
Paolo.

////////////////
2016-06-12  Paolo Carlini  <paolo.carl...@oracle.com>

        * decl.c (grokdeclarator): Fix typo in pedwarn text.
Index: decl.c
===================================================================
--- decl.c      (revision 237318)
+++ decl.c      (working copy)
@@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator,
          {
            if (storage_class == sc_static)
              pedwarn (input_location, OPT_Wpedantic, 
-                      "%<static%> specified invalid for function %qs "
+                      "%<static%> specifier invalid for function %qs "
                       "declared out of global scope", name);
            else
              pedwarn (input_location, OPT_Wpedantic, 

Reply via email to