Inline warning with Qt-5.15
leinad last edited by aha_1980
In QtCreator with version 5.15 I get these inline errors which I didn't with 5.12 and prior:
C:\Qt-development\TODD2\advancefilterworker.cpp:349: warning: C4714: function 'QString QStringView::arg<const QString&,const QString&>(const QString &,const QString &) const' marked as __forceinline not inlined
C:\Qt\5.15.0\msvc2015_64\include\QtCore\qstringview.h:231: see declaration of 'QStringView::arg'
I have the following compiler flag set:
QMAKE_CXXFLAGS_WARN_ON += -W4
If I comment out the flag, the warnings are gone. I'd like to keep the flag. What do I need to do to get rid of the warnings?
What do I need to do to get rid of the warnings?
Fix Qt and / or write a bug report about it.
leinad last edited by
Opened a ticket. I guess nothing more to do for now.
Can you share the link to the ticket ?