[patch] fix trivial typo in diagnostic output

Brian Dessent brian@dessent.net
Sun Jan 8 14:43:00 GMT 2006


This warning was missing a space in the line continuation and was printing
"maychange" instead of "may change".

2006-01-08  Brian Dessent  <brian@dessent.net>

	* class.c (layout_empty_base): Fix whitespace typo in diagnostic.
-------------- next part --------------
Index: cp/class.c
===================================================================
--- cp/class.c	(revision 109448)
+++ cp/class.c	(working copy)
@@ -3489,7 +3489,7 @@
 	propagate_binfo_offsets
 	  (binfo, size_diffop (size_zero_node, BINFO_OFFSET (binfo)));
       else if (warn_abi)
-	warning (0, "offset of empty base %qT may not be ABI-compliant and may"
+	warning (0, "offset of empty base %qT may not be ABI-compliant and may "
 		 "change in a future version of GCC",
 		 BINFO_TYPE (binfo));
     }



More information about the Gcc-patches mailing list