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

@ -44,11 +44,10 @@ namespace juce
namespace OggVorbisNamespace
{
#if JUCE_INCLUDE_OGGVORBIS_CODE || ! defined (JUCE_INCLUDE_OGGVORBIS_CODE)
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4267 4127 4244 4996 4100 4701 4702 4013 4133 4206 4305 4189 4706 4995 4365 4456 4457 4459 6297 6011 6001 6308 6255 6386 6385 6246 6387 6263 6262 28182)
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4267 4127 4244 4100 4701 4702 4013 4133 4206 4305 4189 4706 4995 4365 4456 4457 4459 6297 6011 6001 6308 6255 6386 6385 6246 6387 6263 6262 28182)
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wcast-align",
"-Wconversion",
"-Wdeprecated-declarations",
"-Wdeprecated-register",
"-Wfloat-conversion",
"-Wfloat-equal",
@ -61,6 +60,9 @@ namespace OggVorbisNamespace
"-Wswitch-default",
"-Wswitch-enum",
"-Wzero-as-null-pointer-constant")
JUCE_BEGIN_IGNORE_DEPRECATION_WARNINGS
JUCE_BEGIN_NO_SANITIZE ("undefined")
#include "oggvorbis/vorbisenc.h"
@ -92,6 +94,7 @@ namespace OggVorbisNamespace
#include "oggvorbis/libvorbis-1.3.7/lib/window.c"
JUCE_END_NO_SANITIZE
JUCE_END_IGNORE_DEPRECATION_WARNINGS
JUCE_END_IGNORE_WARNINGS_MSVC
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
#else