This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C PATCH to add missing space in diagnostic (PR c/79847)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]