Extraneous newline emitted between error messages in GCC 6
Patrick Palka
patrick@parcs.ath.cx
Mon Dec 21 18:12:00 GMT 2015
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;
^
$
More information about the Gcc
mailing list