Hi everyone, Ben Cotton <bcotton@xxxxxxxxxx> wrote:
Neither change is trivial to implement because introducing errors for these constructs (as required by C99) alters the result of autoconf configure checks. Quite a few such checks use an implicitly declared `exit` function, for instance. These failures are not really related to the feature under test. If the build system is well written, the build still succeeds, the relevant features are automatically disabled in the test suite and removed from reference ABI lists, and it's not immediately apparent that feature is gone. Therefore, some care is needed that no such alterations happen, and packages need to be ported to C99. Various tools for this porting activity are being developed to support this proposal. Cross-distribution collaboration will help as well, sharing patches and insights.
I may have some good news here: When Apple started shipping arm64 hardware, it switched its system compiler to always treat implicit function declarations as errors. Apple engineers did that because the calling ABI for variadic functions on arm64 differs from that of non-variadic functions, so a declaration is required to determine the correct code to generate. As a consequence, the various macOS package managers have been working on identifying and fixing these autoconf issues for a while now. Obviously, there is a lot of Linux-specific software that nobody will have fixed yet, and the package set may be smaller in the macOS package managers, but commonly used software is probably already fixed. HTH, Clemens -- Clemens Lang RHEL Crypto Team Red Hat _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue