|
@@ -22,13 +22,14 @@ |
|
|
#undef override |
|
|
#undef override |
|
|
|
|
|
|
|
|
// ignore some compiler warnings |
|
|
// ignore some compiler warnings |
|
|
#if defined(__GNUC__) && (__GNUC__ >= 6) |
|
|
|
|
|
# pragma GCC diagnostic push |
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wshift-negative-value" |
|
|
|
|
|
#elif defined(__clang__) |
|
|
|
|
|
|
|
|
#if defined(__clang__) |
|
|
# pragma clang diagnostic push |
|
|
# pragma clang diagnostic push |
|
|
# pragma clang diagnostic ignored "-Winconsistent-missing-override" |
|
|
# pragma clang diagnostic ignored "-Winconsistent-missing-override" |
|
|
# pragma clang diagnostic ignored "-Wunused-private-field" |
|
|
# pragma clang diagnostic ignored "-Wunused-private-field" |
|
|
|
|
|
#elif defined(__GNUC__) && (__GNUC__ >= 6) |
|
|
|
|
|
# pragma GCC diagnostic push |
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wshift-negative-value" |
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wmisleading-indentation" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// base c-style headers |
|
|
// base c-style headers |
|
@@ -540,10 +541,10 @@ extern "C" { |
|
|
|
|
|
|
|
|
#include "zynaddsubfx/globals.cpp" |
|
|
#include "zynaddsubfx/globals.cpp" |
|
|
|
|
|
|
|
|
#if defined(__GNUC__) && (__GNUC__ >= 6) |
|
|
|
|
|
# pragma GCC diagnostic pop |
|
|
|
|
|
#elif defined(__clang__) |
|
|
|
|
|
|
|
|
#if defined(__clang__) |
|
|
# pragma clang diagnostic pop |
|
|
# pragma clang diagnostic pop |
|
|
|
|
|
#elif defined(__GNUC__) && (__GNUC__ >= 6) |
|
|
|
|
|
# pragma GCC diagnostic pop |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Dummy variables and functions for linking purposes |
|
|
// Dummy variables and functions for linking purposes |
|
|