Re: How can Autoconf help with the transition to stricter compilation defaults?
Paul Eggert <[email protected]> Sat, 12 Nov 2022 16:43:07 -0800
| Newsgroups | dev.linux.lists.c-std-porting |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <[email protected]> |
On 2022-11-11 07:11, Aaron Ballman wrote: > We believe the runtime behavior is sufficiently dangerous to > warrant a conservative view that any call to a function will be a call > that gets executed at runtime, hence a definitive signature mismatch > is something we feel comfortable diagnosing (in some form) by default. As long as these diagnostics by default do not cause the compiler to exit with nonzero status, we should be OK with Autoconf-generated 'configure' scripts. Although there will be problems with people who run "./configure CFLAGS='-Werror'", that sort of usage has always been problematic and unsupported by Autoconf, so we can simply continue to tell people "don't do that".