suppress/fix a few more GCC and MSVC warnings and errors

This commit is contained in:
Mathew Sutcliffe
2013-08-13 23:21:12 +01:00
parent d4279a8c28
commit a6756f2043
7 changed files with 14 additions and 7 deletions

View File

@@ -7,6 +7,7 @@
#define BLACKMISC_AVIOADFSYSTEM_H
#include "blackmisc/aviomodulator.h"
#include <stdexcept>
namespace BlackMisc
{

View File

@@ -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");
}
/*!

View File

@@ -5,6 +5,7 @@
#include "blackmisc/mathmatrix3x3.h"
#include "blackmisc/mathmatrix3x1.h"
#include <typeinfo>
namespace BlackMisc
{

View File

@@ -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> >();
}
};