-Werror=implicit-int -Werror=implicit-function-declaration coming to rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


redhat-rpm-config-267-1.fc40 activates the first phase of compiler flags
to avoid regressions in the Fedora C99 port.  Implicit ints and implicit
function declarations will be rejected by default.  The recommended way
to opt out is to set %build_type_safety_c to 0.  See the buildflags.md

I tried very hard to bring the number of build failures to 0, but in the
end, every time I got close, some other package popped up that failed to
build.  So I have now made the switch in the knowledge that some
packages will still fail to build.

The discussion regarding this topic at the GNU Tools Cauldron last
weekend was quite positive, and it is likely that GCC 14 will make a
similar change by default.

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux