1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

BSD: Fix some compiler warnings

This commit is contained in:
Tom Poole 2023-02-07 00:55:38 +00:00 committed by reuk
parent 273a702052
commit 29a90a0231
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
26 changed files with 293 additions and 226 deletions

View file

@ -167,7 +167,7 @@ namespace juce
class Grid;
class FocusOutline;
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
Image createSnapshotOfNativeWindow (void* nativeWindowHandle);
#endif
}
@ -323,7 +323,9 @@ namespace juce
#if JUCE_LINUX || JUCE_BSD
#if JUCE_GUI_BASICS_INCLUDE_XHEADERS
// If you're missing these headers, you need to install the libx11-dev package
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wvariadic-macros")
#include <X11/Xlib.h>
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
#include <X11/Xatom.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>