projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b995a6
)
Add missing \n after printing a warning when using -fno-diagnostics-show-option.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 9 Nov 2012 08:16:27 +0000
(09:16 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 9 Nov 2012 08:17:09 +0000
(09:17 +0100)
diagnostic.c
patch
|
blob
|
history
diff --git
a/diagnostic.c
b/diagnostic.c
index
0464538
..
6bb53e9
100644
(file)
--- a/
diagnostic.c
+++ b/
diagnostic.c
@@
-289,6
+289,8
@@
void warningf(warning_t const warn, source_position_t const* pos, char const *co
diagnosticposvf(pos, kind, fmt, ap);
if (diagnostics_show_option)
fprintf(stderr, " [-W%s]\n", s->name);
+ else
+ fputc('\n', stderr);
break;
default: