mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
suppress/fix a few more GCC and MSVC warnings and errors
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#define BLACKMISC_AVIOADFSYSTEM_H
|
||||
|
||||
#include "blackmisc/aviomodulator.h"
|
||||
#include <stdexcept>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
@@ -111,8 +111,8 @@ public:
|
||||
bool isMagneticTrack() const
|
||||
{
|
||||
return this->m_magnetic;
|
||||
QT_TRANSLATE_NOOP("Aviation", "magnetic");
|
||||
QT_TRANSLATE_NOOP("Aviation", "true");
|
||||
(void)QT_TRANSLATE_NOOP("Aviation", "magnetic");
|
||||
(void)QT_TRANSLATE_NOOP("Aviation", "true");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "blackmisc/mathmatrix3x3.h"
|
||||
#include "blackmisc/mathmatrix3x1.h"
|
||||
#include <typeinfo>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <QtGlobal>
|
||||
#include <QString>
|
||||
#include <QLocale>
|
||||
#include <typeinfo>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -459,10 +460,10 @@ public:
|
||||
{
|
||||
qRegisterMetaType<MU>(typeid(MU).name());
|
||||
qDBusRegisterMetaType<MU>();
|
||||
qDBusRegisterMetaType<QList<MU>>();
|
||||
qDBusRegisterMetaType<QList<MU> >();
|
||||
qRegisterMetaType<PQ>(typeid(PQ).name());
|
||||
qDBusRegisterMetaType<PQ>();
|
||||
qDBusRegisterMetaType<QList<PQ>>();
|
||||
qDBusRegisterMetaType<QList<PQ> >();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user