This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Spurious newline in cpp0 version output
- To: gcc-patches at gcc dot gnu dot org
- Subject: Spurious newline in cpp0 version output
- From: Andreas Schwab <schwab at suse dot de>
- Date: Tue, 26 Sep 2000 10:38:11 +0200
`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