[Development] Enabling -Werror developer builds

Thiago Macieira thiago.macieira at intel.com
Tue Aug 20 16:46:42 CEST 2013

On terça-feira, 20 de agosto de 2013 11:01:47, Robin Burchell wrote:
> 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?

Hmm... that's a good point. Unfortunately, I do want the deprecated warnings 
because of use of functions deprecated in the OS libraries. Mac OS X is 
notable for doing that.

Actually, question to the Mac folks: XCode updates add deprecation marks to 
existing SDKs, right? For example, if I am building to macosx10.6, a new XCode 
release may add deprecation to an API I use because it got deprecated in OS X 
10.9. Correct?

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130820/ff988291/attachment.sig>

More information about the Development mailing list