Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2011-12-26 22:34:34 +0400
committerFelix Geyer <debfx@fobos.de>2011-12-26 22:34:34 +0400
commit4ebcd53801e6bfdeef04c2f82aa0157fb71b10b2 (patch)
tree49236c0fd78bbca82b170cbcd7373449dc0ee9c0 /src
parentfb6ab63d6b5446ef86028fb1dbf33aad1838e41f (diff)
Ignore compiler warnings in qendian.h.
Diffstat (limited to 'src')
-rw-r--r--src/core/Endian.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/Endian.cpp b/src/core/Endian.cpp
index 177c3a7fb..afe5ce5e9 100644
--- a/src/core/Endian.cpp
+++ b/src/core/Endian.cpp
@@ -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