Is there any way to disable the warning setup?
/Qt/macosx/qt-4.8.4-macosx/include/QtCore/private/../../../src/corelib/kernel/qmetaobject_p.h:148:19: error: 'static' function 'normalizeTypeInternal' declared in header file should be declared 'static inline' [-Werror,-Wunneeded-internal-declaration]
static QByteArray normalizeTypeInternal
(const char *t,
const char *e,
bool fixScope
= false,
bool adjustConst
= true)
/Qt/macosx/qt-4.8.4-macosx/include/QtCore/private/../../../src/corelib/kernel/qmetaobject_p.h:148:19: error: 'static' function 'normalizeTypeInternal' declared in header file should be declared 'static inline' [-Werror,-Wunneeded-internal-declaration]
static QByteArray normalizeTypeInternal(const char *t, const char *e, bool fixScope = false, bool adjustConst = true)
To copy to clipboard, switch view to plain text mode
++
solved. by adding #pragma GCC diagnostic warning "-Wunused-function"
Bookmarks