[PATCH] c-family: Enable -fpermissive for C and ObjC

2023-11-06 Thread Florian Weimer
Future changes will treat some C front end warnings similar to -Wnarrowing. gcc/ * doc/invoke.texi (Warning Options): Mention C diagnostics for -fpermissive. gcc/c-family/ * c.opt (fpermissive): Enable for C and ObjC. * c-opts.cc (c_common_post_options): Enable -

[PATCH] c-family: Enable -fpermissive for C and ObjC

2023-10-19 Thread Florian Weimer
Future changes will treat some C front end warnings similar to -Wnarrowing. There are no new tests because there are no such C warnings yet. The existing test suite covers the -std=gnu89 -pedantic-errors corner cases (which should not turn on -fpermissive). gcc/ * doc/invoke.texi (Warni