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

Re: build warnings treated as failures



On Wed, 2013-07-17 at 19:15:42 +0200, Samuel Thibault wrote:
> Ritesh Raj Sarraf, le Wed 17 Jul 2013 22:38:51 +0530, a écrit :
> > I see a sudden surge of build failures against my latest upload of
> > packages[1]. From the build logs, it looks like all warnings are treated
> > as errors now.
> > 
> > If that is the case, I would like to know how others are dealing with
> > it? Fixing every build warning????
> 
> See configure.ac in your package:
> 
> AM_INIT_AUTOMAKE([-Wall -Werror foreign])

Actually, those are automake options dealing with automake warnings.
The culprit here is in Makefile.am (AM_CFLAGS).

> You probably want to remove -Werror and tell upstream that it's not so
> good an idea.

True (for both automake and compiler warnings), at least for release
builds, as new warnings might suddenly appear with new toolchains.

Thanks,
Guillem


Reply to: