re PR translation/90011 (trailing space in diagnostic)
PR translation/90011 * typeck2.c (check_narrowing): Remove trailing space from diagnostics. From-SVN: r270229
This commit is contained in:
parent
e009dfb320
commit
8a22feb67a
@ -1,3 +1,8 @@
|
||||
2019-04-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR translation/90011
|
||||
* typeck2.c (check_narrowing): Remove trailing space from diagnostics.
|
||||
|
||||
2019-04-08 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* typeck2.c (digest_init_r): Don't condition the object slicing warning
|
||||
|
@ -1019,7 +1019,7 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain, bool const_only)
|
||||
int savederrorcount = errorcount;
|
||||
global_dc->pedantic_errors = 1;
|
||||
pedwarn (loc, OPT_Wnarrowing,
|
||||
"narrowing conversion of %qE from %qH to %qI ",
|
||||
"narrowing conversion of %qE from %qH to %qI",
|
||||
init, ftype, type);
|
||||
if (errorcount == savederrorcount)
|
||||
ok = true;
|
||||
|
Loading…
Reference in New Issue
Block a user