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

Moved some VST version compiler warnings out of juce_CheckSettingMacros.h and into the VST wrapper so that JUCE_COMPILER_WARNING can be used

This commit is contained in:
ed 2018-08-14 10:54:59 +01:00
parent 4d02ac63a8
commit fd7b339e04
2 changed files with 22 additions and 27 deletions

View file

@ -92,30 +92,3 @@
#undef JucePlugin_Build_AAX
#define JucePlugin_Build_AAX 0
#endif
//==============================================================================
#if JucePlugin_Build_VST
#if JucePlugin_VersionCode < 0x010000 // Major < 0
#if (JucePlugin_VersionCode & 0x00FF00) > (9 * 0x100) // check if Minor number exceeeds 9
#warning When version has "major" = 0, VST2 has trouble displaying "minor" exceeding 9
#endif
#if (JucePlugin_VersionCode & 0xFF) > 9 // check if Bugfix number exceeeds 9
#warning When version has "major" = 0, VST2 has trouble displaying "bugfix" exceeding 9
#endif
#elif JucePlugin_VersionCode >= 0x650000 // Major >= 101
#if (JucePlugin_VersionCode & 0x00FF00) > (99 * 0x100) // check if Minor number exceeeds 99
#warning When version has "major" > 100, VST2 has trouble displaying "minor" exceeding 99
#endif
#if (JucePlugin_VersionCode & 0xFF) > 99 // check if Bugfix number exceeeds 99
#warning When version has "major" > 100, VST2 has trouble displaying "bugfix" exceeding 99
#endif
#endif // JucePlugin_VersionCode
#endif // JucePlugin_Build_VST