[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #4) > What follows the percent sign must one of the C or POSIX conversion > specifiers (after any optional flags etc.) and those are all single byte > characters

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 --- Comment #4 from Martin Sebor --- (In reply to Manuel López-Ibáñez from comment #3) > void foo(void) { > __builtin_printf("%ñ%中"); > __builtin_printf ("%\x1B$B"); /* Taken from PR33748 */ > } > > : In function 'void foo()': > :2:22:

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 Manuel López-Ibáñez changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-14 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 Tom Tromey changed: What|Removed |Added Status|WAITING |REOPENED --- Comment #2 from Tom Tromey

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 Martin Sebor changed: What|Removed |Added Keywords||diagnostic