'Fix' MSVC compiler warnings

reg. unreferenced function with internal linkage has been removed (C4505), disabling them resp. removing the code.
This commit is contained in:
Joachim Schmitz 2022-10-11 16:01:57 +02:00 committed by Igor Korsukov
parent 2c07bc0518
commit 52af909038
5 changed files with 25 additions and 0 deletions

View file

@ -24,6 +24,11 @@
#include "models/abstractinspectorproxymodel.h"
#if (defined(_MSCVER) || defined(_MSC_VER))
// unreferenced function with internal linkage has been removed
#pragma warning(disable: 4505)
#endif
namespace mu::inspector {
class PlaybackProxyModel : public AbstractInspectorProxyModel
{

View file

@ -24,6 +24,11 @@
#include "propertyitem.h"
#if (defined(_MSCVER) || defined(_MSC_VER))
// unreferenced function with internal linkage has been removed
#pragma warning(disable: 4505)
#endif
namespace mu::inspector {
class PointFPropertyItem : public PropertyItem
{

View file

@ -31,6 +31,11 @@
class QItemSelectionModel;
#if (defined(_MSCVER) || defined(_MSC_VER))
// unreferenced function with internal linkage has been removed
#pragma warning(disable: 4505)
#endif
namespace mu::notation {
class NoteInputBarCustomiseItem;
class NoteInputBarCustomiseModel : public uicomponents::SelectableItemListModel, public async::Asyncable

View file

@ -35,6 +35,11 @@
#include "abstractaudioresourceitem.h"
#if (defined(_MSCVER) || defined(_MSC_VER))
// unreferenced function with internal linkage has been removed
#pragma warning(disable: 4505)
#endif
namespace mu::playback {
class OutputResourceItem : public AbstractAudioResourceItem, public async::Asyncable
{

View file

@ -26,6 +26,11 @@ class QCloseEvent;
class QQmlEngine;
QT_END_NAMESPACE
#if (defined(_MSCVER) || defined(_MSC_VER))
// unreferenced function with internal linkage has been removed
#pragma warning(disable: 4505)
#endif
namespace KDDockWidgets {
class Frame;