[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-06-19 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #5 from Joey Dumont --- I just started looking at these other cases (for some reason I didn't see them in my initial compilation), but I am not sure what format specifiers should be used. Are the format specifiers used by __gcc_tdiag

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-11 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #3 from Joey Dumont --- I had tested with a simple printf: #include #ifndef N_ # define N_(msgid) msgid #endif int main(int argc, char* argv[]) { printf(N_("use of C++23 % integer constant")); printf(N_("use of C++23 %%> int

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #1 from Joey Dumont --- Created attachment 50758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50758&action=edit Workaround for -Wno-format flag injected during build process.

[Bug bootstrap/100431] New: Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 Bug ID: 100431 Summary: Fixes to enable compiling with -Werror=format-security Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co