[cfe-dev] internal-linkage-in-inline

Konstantin Tokarev annulen at yandex.ru
Thu Jun 21 04:36:00 PDT 2012


Hi all,

After recent update of Clang I've started to get lots of warnings in my projects coming from Qt header files, looking like

warning: function 'qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>> >' has internal linkage but is used in an
      inline method with external linkage [-Winternal-linkage-in-inline]

In all cases static inline function is used inside inline function. Is there any reason for warning?

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list