mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -05:00
Ignore compiler warnings in qendian.h.
This commit is contained in:
parent
fb6ab63d6b
commit
4ebcd53801
@ -17,7 +17,14 @@
|
||||
|
||||
#include "Endian.h"
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3))
|
||||
#pragma GCC push_options
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
#endif
|
||||
#include <QtCore/QtEndian>
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3))
|
||||
#pragma GCC pop_options
|
||||
#endif
|
||||
#include <QtCore/QIODevice>
|
||||
|
||||
namespace Endian
|
||||
|
@ -40,11 +40,10 @@
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#include <QtGui/QtGui>
|
||||
|
||||
#include "modeltest.h"
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtTest/QTest>
|
||||
|
||||
Q_DECLARE_METATYPE ( QModelIndex )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user