I have -Werror
enabled to ensure I don’t commit any code that produces warnings.
Today I updated from JUCE 5.4.1 to JUCE 5.4.3, and I’m hitting an error in juce_VST3_Wrapper.cpp, line 1339, when I try to make a Release build:
const int numConfigs = sizeof (configs) / sizeof (short[2]);
jassert (numConfigs > 0 && (configs[0][0] > 0 || configs[0][1] > 0));
numConfigs
will of course be unused when building for Release.
I will temporarily disable -Werror
so I can keep building, but would be great if this could be fixed for those of us who use more pedantic settings!