Small addition to the help above: I got the mismatch error after adding a static libto an older VST solution using VST 2017 . VST now generates "stdfax.h" for precompiled headers containing these 2 lines: // Turn off iterator debugging as it makes the compiler very slow on large methods in debug builds #define _HAS_ITERATOR_DEBUGGING 0 . I commented out the #define to fix the mismatch error. (PS Stack overflow is reformatting this weirdly)
// Turn off iterator debugging as it makes the compiler very slow on large methods in debug builds
#define _HAS_ITERATOR_DEBUGGING 0