Skip to content

Commit

Permalink
Fix compiler warnings, fixup for updated pugl
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Oct 7, 2023
1 parent 568fc96 commit 3a7d78c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/Makefile.deps.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions source/backend/plugin/CarlaPluginVST3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,8 @@ struct carla_v3_run_loop : v3_run_loop_cpp {
return loop->posixfds.append(posixfd) ? V3_OK : V3_NOMEM;
#else
return V3_NOT_IMPLEMENTED;
// unused
(void)self; (void)handler; (void)fd;
#endif
}

Expand All @@ -1043,6 +1045,8 @@ struct carla_v3_run_loop : v3_run_loop_cpp {
return V3_INVALID_ARG;
#else
return V3_NOT_IMPLEMENTED;
// unused
(void)self; (void)handler;
#endif
}

Expand Down

0 comments on commit 3a7d78c

Please sign in to comment.