This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Extraneous newline emitted between error messages in GCC 6
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: David Malcolm <dmalcolm at redhat dot com>
- Date: Mon, 21 Dec 2015 13:12:33 -0500
- Subject: Extraneous newline emitted between error messages in GCC 6
- Authentication-results: sourceware.org; auth=none
GCC 6, compared to GCC 5, now emits an extra newline between error
messages. Is this intended?
$ cat error.c
int x = a;
int y = b;
$ gcc-5 error.c
error.c:1:9: error: âaâ undeclared here (not in a function)
int x = a;
^
error.c:2:9: error: âbâ undeclared here (not in a function)
int y = b;
^
$ gcc-6 error.c
error.c:1:9: error: âaâ undeclared here (not in a function)
int x = a;
^
error.c:2:9: error: âbâ undeclared here (not in a function)
int y = b;
^
$