Re: [PATCH] Avoid more -Wformat-diag warnings [PR103758]

2022-01-05 Thread Joseph Myers
On Wed, 5 Jan 2022, Marek Polacek via Gcc-patches wrote: > Let's use "%, %, or %" rather than "[x|y|z]" as in the rest of > our codebase. > > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/11? OK. -- Joseph S. Myers jos...@codesourcery.com

[PATCH] Avoid more -Wformat-diag warnings [PR103758]

2022-01-05 Thread Marek Polacek via Gcc-patches
Let's use "%, %, or %" rather than "[x|y|z]" as in the rest of our codebase. Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/11? PR c++/103758 gcc/c-family/ChangeLog: * c-pragma.c (handle_pragma_scalar_storage_order): Use %< %> in diagnostic messages.