Browse Source

Ignore fall-through warnings in zyn-ui code

tags/1.9.8
falkTX 7 years ago
parent
commit
70838e1d1c
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      source/native-plugins/zynaddsubfx-ui.cpp

+ 9
- 0
source/native-plugins/zynaddsubfx-ui.cpp View File

@@ -58,6 +58,11 @@ extern "C" {
#undef static
#include "zynaddsubfx/rtosc/cpp/undo-history.cpp"

#if defined(__GNUC__) && (__GNUC__ >= 6)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif

// zynaddsubfx ui includes
#include "zynaddsubfx/UI/NioUI.cpp"
#include "zynaddsubfx/UI/WidgetPDial.cpp"
@@ -104,6 +109,10 @@ extern "C" {
#include "zynaddsubfx/UI/VirKeyboard.cpp"
#include "zynaddsubfx/UI/guimain.cpp"

#if defined(__GNUC__) && (__GNUC__ >= 6)
# pragma GCC diagnostic pop
#endif

class ZynPipeClient : public CarlaPipeClient
{
public:


Loading…
Cancel
Save