mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS: Fixed some deprecation warnings and silenced some others for the time being
This commit is contained in:
parent
e88228a036
commit
bdeaeaf368
13 changed files with 93 additions and 49 deletions
|
|
@ -24,6 +24,12 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
#if JUCE_CLANG && ! (defined (MAC_OS_X_VERSION_10_16) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_16)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#define JUCE_DEPRECATION_IGNORED 1
|
||||
#endif
|
||||
|
||||
struct CameraDevice::Pimpl
|
||||
{
|
||||
Pimpl (CameraDevice& ownerToUse, const String&, int /*index*/, int /*minWidth*/, int /*minHeight*/,
|
||||
|
|
@ -328,3 +334,8 @@ String CameraDevice::getFileExtension()
|
|||
{
|
||||
return ".mov";
|
||||
}
|
||||
|
||||
#if JUCE_DEPRECATION_IGNORED
|
||||
#pragma clang diagnostic pop
|
||||
#undef JUCE_DEPRECATION_IGNORED
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue