Browse Source

VST3: Remove warnings in fstring.cpp

v7.0.9
reuk 2 years ago
parent
commit
dccde43300
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
2 changed files with 4 additions and 6 deletions
  1. +4
    -0
      modules/juce_audio_processors/format_types/VST3_SDK/JUCE_README.md
  2. +0
    -6
      modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.cpp

+ 4
- 0
modules/juce_audio_processors/format_types/VST3_SDK/JUCE_README.md View File

@@ -1,2 +1,6 @@
This list details modifications made to the VST3 SDK in order to facilitate This list details modifications made to the VST3 SDK in order to facilitate
inclusion in JUCE. inclusion in JUCE.

- `#warning` directives were removed from fstring.cpp, as these cannot be
silenced with a `pragma GCC diagnostic ignored "-Wcpp"` when building with
g++.

+ 0
- 6
modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.cpp View File

@@ -293,7 +293,6 @@ static inline int strnicmp16 (const Steinberg::char16* s1, const Steinberg::char
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static inline int sprintf16 (Steinberg::char16* wcs, const Steinberg::char16* format, ...) static inline int sprintf16 (Steinberg::char16* wcs, const Steinberg::char16* format, ...)
{ {
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
return 0; return 0;
} }
@@ -317,7 +316,6 @@ static inline int vsnwprintf (Steinberg::char16* wcs, size_t maxlen,
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static inline Steinberg::char16* strrchr16 (const Steinberg::char16* str, Steinberg::char16 c) static inline Steinberg::char16* strrchr16 (const Steinberg::char16* str, Steinberg::char16 c)
{ {
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
return nullptr; return nullptr;
} }
@@ -1595,7 +1593,6 @@ char16 ConstString::toLower (char16 c)
} }
return c; return c;
#elif SMTG_OS_LINUX #elif SMTG_OS_LINUX
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
return c; return c;
#else #else
@@ -1624,7 +1621,6 @@ char16 ConstString::toUpper (char16 c)
} }
return c; return c;
#elif SMTG_OS_LINUX #elif SMTG_OS_LINUX
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
return c; return c;
#else #else
@@ -1923,7 +1919,6 @@ int32 ConstString::multiByteToWideString (char16* dest, const char8* source, int
} }
else else
{ {
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
} }


@@ -2004,7 +1999,6 @@ int32 ConstString::wideStringToMultiByte (char8* dest, const char16* wideString,
} }
else else
{ {
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation"); assert(false && "DEPRECATED No Linux implementation");
} }
return result; return result;


Loading…
Cancel
Save