[Swan-dev] "not rocket science" -- master that doesn't fail

Paul Wouters paul at nohats.ca
Wed Jan 21 21:09:18 EET 2015


On Wed, 21 Jan 2015, D. Hugh Redelmeier wrote:

> See how Andrew fixed some real bugs because he was informed about the
> warnings?  That's a very very good thing.

> I want -Werror to rub our nose in portability bugs because I only test
> on one architecture.
>
> If you need to turn off -Werror, you can do so.  But that should be
> a rare case and we should not optimize for it.

I was surprised today that I could just add it and the whole thing
compiled. That was surely not the case a year ago.

Note I can easilly build libreswan on various strange architectures,
both the fedora buildsystem with arms as well as the redhat build
system with s390/s390x. I just never really paid much attention to
the other build systems' warnings. Adding -Werror would "fix" that
as it would break the build for all architectures if it fails for one.

Of course, all things come at a time cost. And we all have "better"
things to do. That's how we ended up with this mess-of-make over
the years :P

Paul


More information about the Swan-dev mailing list