Browse Source

Ignore misleading indentation warnings on 3rd party code

tags/1.9.7
falkTX 8 years ago
parent
commit
4740c95de8
4 changed files with 8 additions and 1 deletions
  1. +3
    -0
      source/modules/dgl/Makefile
  2. +1
    -0
      source/modules/juce_audio_formats/Makefile
  3. +2
    -0
      source/modules/juce_core/native/juce_posix_SharedCode.h
  4. +2
    -1
      source/native-plugins/Makefile

+ 3
- 0
source/modules/dgl/Makefile View File

@@ -15,6 +15,9 @@ BUILD_CXX_FLAGS += $(DGL_FLAGS) -Isrc
# needed by sofd right now, fix later
BUILD_CXX_FLAGS += -Wno-type-limits -fpermissive

# needed by stb_image
BUILD_CXX_FLAGS += -Wno-misleading-indentation -Wno-shift-negative-value

# ----------------------------------------------------------------------------------------------------------------------------

OBJS = \


+ 1
- 0
source/modules/juce_audio_formats/Makefile View File

@@ -11,6 +11,7 @@ include ../Makefile.mk
# ----------------------------------------------------------------------------------------------------------------------------

BUILD_CXX_FLAGS += $(JUCE_AUDIO_FORMATS_FLAGS) -I..
BUILD_CXX_FLAGS += -Wno-misleading-indentation

# ----------------------------------------------------------------------------------------------------------------------------



+ 2
- 0
source/modules/juce_core/native/juce_posix_SharedCode.h View File

@@ -1140,6 +1140,8 @@ public:
close (pipeHandles[1]); // close the write handle
}
}
ignoreUnused(streamFlags);
}
~ActiveProcess()


+ 2
- 1
source/native-plugins/Makefile View File

@@ -19,7 +19,7 @@ BUILD_CXX_FLAGS += -I.. -isystem $(CWD)/modules -I$(CWD)/modules/distrho
ifeq ($(EXPERIMENTAL_PLUGINS),true)
ZITA_DSP_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Wno-unused-parameter
ZITA_DSP_CXX_FLAGS += $(shell pkg-config --cflags fftw3f)
ZITA_UI_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Wno-unused-parameter -Wno-ignored-qualifiers
ZITA_UI_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-result
ZITA_UI_CXX_FLAGS += $(shell pkg-config --cflags cairo libpng12 freetype2 x11 xft zlib)
ZITA_UI_LINK_FLAGS = $(LINK_FLAGS) -lclxclient -lclthreads
ZITA_UI_LINK_FLAGS += $(shell pkg-config --libs cairo libpng12 freetype2 x11 xft zlib)
@@ -31,6 +31,7 @@ endif # EXPERIMENTAL_PLUGINS

ifeq ($(HAVE_ZYN_DEPS),true)
ZYN_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Izynaddsubfx -Izynaddsubfx/rtosc
ZYN_CXX_FLAGS += -Wno-misleading-indentation -Wno-shift-negative-value
ZYN_CXX_FLAGS += $(shell pkg-config --cflags fftw3 mxml zlib)
ZYN_LD_FLAGS = $(shell pkg-config --libs liblo)
ZYN_LD_FLAGS += -ldl -lpthread


Loading…
Cancel
Save