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

Deprecations: Add ignore deprecation warning macros

This commit is contained in:
Anthony Nicholls 2024-09-27 16:26:59 +01:00
parent 6b08ced201
commit 5e803ded5f
42 changed files with 114 additions and 148 deletions

View file

@ -115,9 +115,9 @@ static UIInterfaceOrientation getWindowOrientation()
return [(UIWindowScene*) scene interfaceOrientation];
}
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wdeprecated-declarations")
JUCE_BEGIN_IGNORE_DEPRECATION_WARNINGS
return [sharedApplication statusBarOrientation];
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
JUCE_END_IGNORE_DEPRECATION_WARNINGS
}
struct Orientations