dhcpcd-discuss

Re: git master: compiler warnings

Roy Marples

Wed Oct 04 19:47:46 2017

On 04/10/2017 20:40, M. Buecher wrote:
Didn't expect you to hunt all of them down immediately or at all.
Your effort is much more than appreciated.

I dislike any warnings or even worse, errors, as much as the next guy.

I was just wondering why I got warnings with the git master that I didn't get with 7.0.0-rc2 release. And the main reason is that config.mk in the git master adds a lot more CFLAGS.

The configure script detected that it's a git clone an thus enabled all the QA warnings supported by modern gcc and clang.

ie, we assume that only developers will use git, users will download the signed source tarballs.

Roy

References:
git master: compiler warningsM. Buecher
Re: git master: compiler warningsRoy Marples
Re: git master: compiler warningsRoy Marples
Re: git master: compiler warningsM. Buecher
Archive administrator: postmaster@marples.name