From 3a7d78c165ce3c7485a93e1901d45d5c5be4b6e1 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 7 Oct 2023 16:46:07 +0200 Subject: [PATCH] Fix compiler warnings, fixup for updated pugl Signed-off-by: falkTX --- source/Makefile.deps.mk | 2 +- source/backend/plugin/CarlaPluginVST3.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index 590009672..40042778b 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -455,7 +455,7 @@ ifneq ($(USE_GLES2)$(USE_GLES3),true) DGL_LIBS = -sLEGACY_GL_EMULATION -sGL_UNSAFE_OPTS=0 endif else ifeq ($(WINDOWS),true) -DGL_LIBS = -lopengl32 -lgdi32 +DGL_LIBS = -lcomdlg32 -ldwmapi -lopengl32 -lgdi32 else DGL_FLAGS += -DHAVE_X11 -DHAVE_XCURSOR -DHAVE_XEXT -DHAVE_XSYNC -DHAVE_XRANDR DGL_FLAGS += $(shell $(PKG_CONFIG) --cflags gl x11 xcursor xext xrandr) diff --git a/source/backend/plugin/CarlaPluginVST3.cpp b/source/backend/plugin/CarlaPluginVST3.cpp index d5afa806c..0cf210879 100644 --- a/source/backend/plugin/CarlaPluginVST3.cpp +++ b/source/backend/plugin/CarlaPluginVST3.cpp @@ -1017,6 +1017,8 @@ private: return loop->posixfds.append(posixfd) ? V3_OK : V3_NOMEM; #else return V3_NOT_IMPLEMENTED; + // unused + (void)self; (void)handler; (void)fd; #endif } @@ -1043,6 +1045,8 @@ private: return V3_INVALID_ARG; #else return V3_NOT_IMPLEMENTED; + // unused + (void)self; (void)handler; #endif }