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

İsmail Dönmez ismail at namtrac.org
Thu Jun 21 04:47:21 PDT 2012


On Thu, Jun 21, 2012 at 1:36 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:

> 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?

This warning is now disabled for C++ code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120621/e3a5bffc/attachment.html>

More information about the cfe-dev mailing list