On segunda-feira, 30 de maio de 2016 17:58:44 BRT Marc Mutz wrote: > On Monday 30 May 2016 15:12:01 Thiago Macieira wrote: > > Sorry, I don't buy it. Instead: > > qmake -config ltcg > > I take that "I don't buy it" means that link-time compilation also warns > about unused data and function members?
I didn't specifically test that. But I know that GCC does detect ODR violations when compiled in LTO mode. > Anyway, until such a time as that becomes the default build mode for Qt, I > don't think we should discard optimisations that only(?) benefit separate- > compilation modes. I doubt we'll make it the default. But correcting warnings is something that we Qt developers need to do and we can enable LTCG mode. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development