Commit 88f5220a authored by Max Kellermann's avatar Max Kellermann

util/Manual: drop support for gcc 4.6

parent 3e87ac75
...@@ -30,14 +30,12 @@ ...@@ -30,14 +30,12 @@
#ifndef MPD_MANUAL_HXX #ifndef MPD_MANUAL_HXX
#define MPD_MANUAL_HXX #define MPD_MANUAL_HXX
#include "Compiler.h"
#include <new> #include <new>
#include <utility> #include <utility>
#include <assert.h> #include <assert.h>
#if CLANG_OR_GCC_VERSION(4,7) #if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif #endif
...@@ -118,7 +116,7 @@ public: ...@@ -118,7 +116,7 @@ public:
} }
}; };
#if CLANG_OR_GCC_VERSION(4,7) #if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment