[Development] Are we free of code that checks this isn't null?

Thiago Macieira thiago.macieira at intel.com
Sat Mar 5 01:14:19 CET 2016


On sábado, 5 de março de 2016 02:17:59 PST Marc Mutz wrote:
> On Saturday 05 March 2016 00:21:38 Thiago Macieira wrote:
> > On sexta-feira, 4 de março de 2016 23:27:49 PST Marc Mutz wrote:
> > > Do you also have a fix for this one:
> > >   ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qobject
> > >   d
> > >   efs
> > > 
> > > .h:175:108: error:  ‘visibility’ attribute ignored [-Werror=attributes]
> > > 
> > >        Q_DECL_HIDDEN_STATIC_METACALL static void
> > >        qt_static_metacall(QObject
> > > 
> > > *,  QMetaObject::Call, int, void **); \
> > 
> > Yes, but I can't find it. I might have dropped it because it wasn't
> > working, due to a GCC bug. The bug has since been fixed.
> > 
> > We need to make Q_DECL_HIDDEN_STATIC_METACALL include the pragma disabling
> > that particular warning.
> > 
> > This is a blind, untested change:
> > https://codereview.qt-project.org/151467
> 
> Didn't work for me, but gave me the right idea. Fixed now. Updated.

Thanks.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list