Skip to content

Commit

Permalink
Suppress warnings emitted from faust2lv2
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Jan 4, 2024
1 parent 7e31971 commit 9905b06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion XUiDesigner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
NAME = XUiDesigner
EXEC_NAME = $(shell echo $(NAME) | tr A-Z a-z)
BUILD_DIR = build/
VER = 0.9
VER = 1.0

LIB_DIR := ../libxputty/libxputty/
HEADER_DIR := $(LIB_DIR)include/
Expand Down
3 changes: 2 additions & 1 deletion XUiDesigner/src/XUiGenerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void print_makefile(XUiDesigner *designer) {
" TTLUPDATE = sed -i '/lv2:binary/ s/\\.so/\\.dll/ ' ../bin/$(BUNDLE)/manifest.ttl\n"
" TTLUPDATEGUI = sed -i '/a guiext:X11UI/ s/X11UI/WindowsUI/ ; /guiext:binary/ s/\\.so/\\.dll/ ' ../bin/$(BUNDLE)/$(NAME).ttl\n"
"endif\n\n"
" FAUSTFLAGS := %s%s%s\n\n"
" FAUSTFLAGS := %s \\\n %s%s \\\n %s\n\n"
".PHONY : all install uninstall\n\n"
".NOTPARALLEL:\n\n"
"all: $(RESOURCEHEADER) $(EXEC_NAME)\n\n"
Expand Down Expand Up @@ -352,6 +352,7 @@ void print_makefile(XUiDesigner *designer) {
name, "\%","\%","\%","\%","\%","\%", designer->is_faust_synth_file ? uri : "",
designer->is_faust_synth_file ? " -DFAUST_META=1 -DFAUST_MIDICC=1 -DFAUST_MTS=1 -DFAUST_UI=0 -DVOICE_CTRLS=1 " : "",
designer->is_faust_synth_file ? voices : "",
designer->is_faust_synth_file ? "-Wno-sign-compare -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-function" : "",
"\%","\%","\%","\%","\%","\%","\%","\%","\%","\%","\%",
"\%","\%","\%","\%","\%", use_atom ? "-DUSE_ATOM" : "",
use_midi ? "-DUSE_MIDI" : "",
Expand Down

0 comments on commit 9905b06

Please sign in to comment.