Hi,

    That's right, MSVC inlines everything by default, and your suggestion is 
exactly what I need (with the clarification that I also need it for the OS X 
binaries, which are compiled with Clang and not GCC - I'm not sure about 
Clang's default behaviour about inlines). About the size, I haven't compiled Qt 
but the wrapper I used to generate for almost all of the exported inlines in 
QtCore was about 800 K large so I assume this is approximately how much QtCore 
would grow. To me, this is little difference and this is why I filed the issue.

    I'm not sure I understand what you mean about the issue not being specific 
to qt-project.org binaries. Are you talking about some other binaries?


    Dimitar 
On Saturday, April 26, 2014 1:42 PM, Hausmann Simon <[email protected]> 
wrote:
 
Hi,

Isn't this also how msvc behaves by default? Then perhaps it would make sense 
to build with those flags by default with gcc for consistency. I wonder what 
the overhead in size is.

Either way I think this should not be specific to qt-project.org binaries.

Simon

Fra: Dimitar Dobrev
Sendt: 10:44 lørdag 26. april 2014
Til: [email protected]
Svar til: Dimitar Dobrev
Emne: [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.

    Regards,
    Dimitar Dobrev
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to