Re: -Wformat-overflow handling for %b and %B directives in C2X standard

2022-08-15 Thread Frolov Daniil via Gcc-patches
y. If we want to look at it as on extension then I am agreed with you. Removed this function in new patch. > > сб, 2 апр. 2022 г. в 01:15, Marek Polacek : > > > > > On Sat, Apr 02, 2022 at 12:19:47AM +0500, Frolov Daniil via Gcc-patches > > > wrote: > > > > Hello

Re: -Wformat-overflow handling for %b and %B directives in C2X standard

2022-04-06 Thread Frolov Daniil via Gcc-patches
lse triggering. сб, 2 апр. 2022 г. в 01:15, Marek Polacek : > On Sat, Apr 02, 2022 at 12:19:47AM +0500, Frolov Daniil via Gcc-patches > wrote: > > Hello, I've noticed that -Wformat-overflow doesn't handle %b and %B > > directives in the sprintf function. I've added a relevant issue i

-Wformat-overflow handling for %b and %B directives in C2X standard

2022-04-01 Thread Frolov Daniil via Gcc-patches
Hello, I've noticed that -Wformat-overflow doesn't handle %b and %B directives in the sprintf function. I've added a relevant issue in bugzilla (bug #105129). I attach a patch with a possible solution to the letter. From 2051344e9500651f6e94c44cbc7820715382b957 Mon Sep 17 00:00:00 2001 From: