Re: [PATCH] c-format: Add -Wformat-same-precision option [PR80060]

2021-10-01 Thread Daniil Stas via Gcc-patches
Hi, Martin On Thu, 30 Sep 2021 09:02:28 -0600 Martin Sebor wrote: > On 9/26/21 3:52 PM, Daniil Stas via Gcc-patches wrote: > > This option is enabled by default when -Wformat option is enabled. A > > user can specify -Wno-format-same-precision to disable emitting > > warnings about an argument

Re: [PATCH] c-format: Add -Wformat-same-precision option [PR80060]

2021-09-30 Thread Martin Sebor via Gcc-patches
On 9/26/21 3:52 PM, Daniil Stas via Gcc-patches wrote: This option is enabled by default when -Wformat option is enabled. A user can specify -Wno-format-same-precision to disable emitting warnings about an argument passed to printf-like function having a different type from the one specified in

[PATCH] c-format: Add -Wformat-same-precision option [PR80060]

2021-09-26 Thread Daniil Stas via Gcc-patches
This option is enabled by default when -Wformat option is enabled. A user can specify -Wno-format-same-precision to disable emitting warnings about an argument passed to printf-like function having a different type from the one specified in the format string if the types precisions are the same.