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]

Spurious newline in cpp0 version output


`cpp0 --version' prints out an extra newline before TARGET_VERSION.

2000-09-26  Andreas Schwab  <schwab@suse.de>

	* cppinit.c (cpp_handle_option): Remove extra newline before
	TARGET_VERSION.

Index: gcc/cppinit.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cppinit.c,v
retrieving revision 1.110
diff -u -a -u -r1.110 gcc/cppinit.c
--- gcc/cppinit.c	2000/09/25 22:54:02	1.110
+++ gcc/cppinit.c	2000/09/26 08:34:02
@@ -1403,7 +1403,7 @@
 	    CPP_OPTION (pfile, out_fname) = "";
 	  break;
 	case OPT_v:
-	  fprintf (stderr, _("GNU CPP version %s (cpplib)\n"), version_string);
+	  fprintf (stderr, _("GNU CPP version %s (cpplib)"), version_string);
 #ifdef TARGET_VERSION
 	  TARGET_VERSION;
 #endif

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

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