I prefer not to go into “flame wars” on the merits of C vs C++. My projects are (mostly) in “C” and I am happy with this setup. In addition, given technical / organizational / business issues, switching to C++ not an option.
Yair. Sent from my iPad > On Jul 5, 2022, at 3:16 PM, Florian Weimer <fwei...@redhat.com> wrote: > > * Yair Lenga via Gcc: > >> My question: does anyone know how much effort it will be to add a new GCC >> built-in (or extension), that will automatically generate a descriptive >> format string, consistent with scanf formatting, avoiding the need to >> manually enter the formatting string. > > It's already possible to do this with C++. Can't you just use C++ > instead? > > Thanks, > Florian >