Bug#1115108: extra-cmake-modules: -Wl,--fatal-warnings GCS breakage on arm64
On Tue, Sep 16, 2025 at 06:25:12PM +0200, Patrick Franz wrote:
> Hi,
Hi Patrick,
> are we supposed to make warnings non-fatal just because one single
> warning turns out to be harmless ?
when was the last time this has caught a non-harmless issue?
A warning is not an error.
Tools already give an error for issues they consider non-harmless,
and one can selectively turn additional warnings into errors for
issues one considers non-harmless.
Passing --fatal-warnings to the linker is similar to passing -Werror to
the compiler:
A non-default option that can be very useful in an upstream CI to catch
new warnings, but in a distribution it breaks too often.
For compiler warnings extra-cmake-modules already does this selectively
with "-Werror=return-type -Werror=init-self -Werror=undef".
> Med vänliga hälsningar
>
> Patrick Franz
cu
Adrian
Reply to: