[Development] Enabling -Werror developer builds

Robin Burchell robin+qt at viroteck.net
Tue Aug 20 11:01:47 CEST 2013


On Tue, Aug 20, 2013 at 12:14 AM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> Right now, I've got most modules compiling with -Werror with GCC 4.7. I'd like
> to start adding the CONFIG to enable the flag.
>
> Objections?

One potential problem I see (I haven't looked at your changes, sorry,
holiday and lack of time) - is in the behavior of dependencies. Say
that something in qtbase is deprecated, but not yet removed from all
submodules (due to a lack of urgency, proliferation of use, whatever)
--- that will then block the build of the submodules, but not qtbase.

Maybe -Wno-error=deprecated would be a good idea?



More information about the Development mailing list