summaryrefslogtreecommitdiff
path: root/dgl/src/NanoVG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dgl/src/NanoVG.cpp')
-rw-r--r--dgl/src/NanoVG.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/dgl/src/NanoVG.cpp b/dgl/src/NanoVG.cpp
index 0fcb29f9..2b9f0d4a 100644
--- a/dgl/src/NanoVG.cpp
+++ b/dgl/src/NanoVG.cpp
@@ -1,6 +1,6 @@
/*
* DISTRHO Plugin Framework (DPF)
- * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com>
+ * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -972,8 +972,18 @@ END_NAMESPACE_DGL
#undef final
+#if defined(__GNUC__) && (__GNUC__ >= 6)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wmisleading-indentation"
+# pragma GCC diagnostic ignored "-Wshift-negative-value"
+#endif
+
extern "C" {
#include "nanovg/nanovg.c"
}
+#if defined(__GNUC__) && (__GNUC__ >= 6)
+# pragma GCC diagnostic pop
+#endif
+
// -----------------------------------------------------------------------