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:
parent
273a702052
commit
29a90a0231
26 changed files with 293 additions and 226 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue