mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Get rid of warnings in Windows direct write headers
This commit is contained in:
parent
c644dbdbd6
commit
ac14c59283
1 changed files with 10 additions and 0 deletions
|
|
@ -44,6 +44,12 @@
|
|||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
#elif JUCE_WINDOWS
|
||||
// get rid of some warnings in Window's own headers
|
||||
#ifdef JUCE_MSVC
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4458)
|
||||
#endif
|
||||
|
||||
#if JUCE_MINGW && JUCE_USE_DIRECTWRITE
|
||||
#warning "DirectWrite not currently implemented with mingw..."
|
||||
#undef JUCE_USE_DIRECTWRITE
|
||||
|
|
@ -62,6 +68,10 @@
|
|||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#ifdef JUCE_MSVC
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
#elif JUCE_IOS
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import <CoreText/CoreText.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue