I don't need invisible inlines either but some of them - such as 
QModelIndex::row() - are visible. Is there any way to emit just the visible 
inlines?

    Dimitar

On Monday, April 28, 2014 4:12 PM, Thiago Macieira <thiago.macie...@intel.com> 
wrote:
 
Em seg 28 abr 2014, às 11:15:23, Koehne Kai escreveu:

> > -----Original Message-----
> > From: development-bounces+kai.koehne=digia....@qt-project.org
> > Subject: [Development] Qt binaries with inlined functions
> > 
> >     Hello all,
> >    
> >     I'd like to start a discussion about .https://bugreports.qt-> > 
> > project.org/browse/QTBUG-32995. Please share your thoughts.
> 
> To get some numbers I tried to add
> 
> QMAKE_CXXFLAGS += -fkeep-inline-functions

`-fkeep-inline-functions'
     In C, emit `static' functions that are declared `inline' into the
     object file, even if the function has been inlined into all of its
     callers.  This switch does not affect functions using the `extern
     inline' extension in GNU C90.  In C++, emit any and all inline
     functions into the object file.

DO NOT pass that flag. There's no need to bloat our binaries with functions 
that cannot be called (remember, we pass -fvisibility-inlines-hidden).

-- 
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
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to