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:
parent
6b08ced201
commit
5e803ded5f
42 changed files with 114 additions and 148 deletions
|
|
@ -1231,8 +1231,7 @@ struct MidiMessageTest final : public UnitTest
|
|||
|
||||
size_t index = 0;
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wdeprecated-declarations")
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4996)
|
||||
JUCE_BEGIN_IGNORE_DEPRECATION_WARNINGS
|
||||
|
||||
for (const auto& input : inputs)
|
||||
{
|
||||
|
|
@ -1258,8 +1257,7 @@ struct MidiMessageTest final : public UnitTest
|
|||
++index;
|
||||
}
|
||||
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
JUCE_END_IGNORE_DEPRECATION_WARNINGS
|
||||
}
|
||||
|
||||
beginTest ("ReadVariableLengthVal should return 0 if input is truncated");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue