This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C PATCH to add missing space in diagnostic (PR c/79847)
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 4 Mar 2017 12:05:19 +0100
- Subject: C PATCH to add missing space in diagnostic (PR c/79847)
- Authentication-results: sourceware.org; auth=none
There should be a space after the semicolon.
Bootstrapped/regtested on x86_64-linux, applying to trunk.
2017-03-04 Marek Polacek <polacek@redhat.com>
PR c/79847
* c-decl.c (implicit_decl_warning): Add missing space.
diff --git gcc/c/c-decl.c gcc/c/c-decl.c
index f46ca11..645304a 100644
--- gcc/c/c-decl.c
+++ gcc/c/c-decl.c
@@ -3147,7 +3147,7 @@ implicit_decl_warning (location_t loc, tree id, tree olddecl)
richloc.add_fixit_replace (hint);
warned = warning_at_rich_loc
(&richloc, OPT_Wimplicit_function_declaration,
- G_("implicit declaration of function %qE;did you mean %qs?"),
+ G_("implicit declaration of function %qE; did you mean %qs?"),
id, hint);
}
else
Marek