I’m trying to build the auwrapper library from v3.6.6 of the VST3 SDK in Xcode 8.3.3 under OS X 10.13, but am getting this error when it compiles the base.xcodeproj:
/Applications/Xcode.app/Contents/Developer/CoreAudioUtilityClasses/CoreAudio/AudioUnits/AUPublic/AUCarbonViewBase/AUCarbonViewBase.cpp:263:46: error: non-constant-expression cannot be narrowed from type ‘short’ to ‘CGFloat’ (aka ‘float’) in initializer list [-Wc++11-narrowing]
HISize originalSize = { mBottomRight.h, mBottomRight.v };
I did not get this error when building on my older laptop with Xcode 8.2.x under OS X 10.12. Do I need to stick with the older OS libraries when using v3.6.6 (or update to a newer VST3 SDK), or is there a way to fix this in my setup?
Thanks,
Howard