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

@ -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");