On Tue, Dec 6, 2016, at 08:26 PM, Zbigniew Jędrzejewski-Szmek wrote:

> An alternative proposal: add a opt-out/opt-in flag (similar to 
> _hardened_build)
> %global _strict_c_flags 0/1

What I've been doing for years now is to carry a baseline set of
"warnings that must be errors" in my projects, like:

https://github.com/ostreedev/ostree/blob/master/configure.ac#L19

If you implement it this way, it won't affect autoconf tests,
and further works for every consuming build system (of which
there are many), not just RPM.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to