Ignore:
Timestamp:
Mar 10, 2010, 10:00:14 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

global: Make sure Q_*_EXPORT_INLINE functions are actually inlined in optimized (release) builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/global/qglobal.h

    r652 r669  
    13281328// Functions marked as Q_GUI_EXPORT_INLINE were exported and inlined by mistake.
    13291329// Compilers like MinGW complain that the import attribute is ignored.
    1330 #if defined(Q_CC_MINGW) || (defined(Q_OS_OS2) && defined(Q_CC_GNU))
     1330#if defined(Q_CC_MINGW)
    13311331#    if defined(QT_BUILD_CORE_LIB)
    13321332#      define Q_CORE_EXPORT_INLINE Q_CORE_EXPORT inline
     
    13391339#      define Q_GUI_EXPORT_INLINE inline
    13401340#    endif
     1341
     1342
     1343
     1344
     1345
    13411346#elif defined(Q_CC_RVCT)
    13421347// we force RVCT not to export inlines by passing --visibility_inlines_hidden
Note: See TracChangeset for help on using the changeset viewer.