jeudi 1 décembre 2016

Xcode WDL-OL VST3 Semantic Issue; Use of undeclared identifier 'nullptr'

Im trying to get Xcode to compile VST3 plugin. Using WDL-OL. Fresh install of MacOS Sierra. Using this guide for setup: http://ift.tt/1FLvU7Z Also using XcodeLegacy to install all libs/sdk's. App,VST2 and AU compile/work. VST3 and AAX do not.

wdl-ol/VST3_SDK/http://ift.tt/2fLRDZT: 
Use of undeclared identifier 'nullptr'

memorystream.cpp

IMPLEMENT_FUNKNOWN_METHODS (MemoryStream, IBStream, IBStream::iid)
static const TSize kMemGrowAmount = 4096;

I've tried all 3 compilers, different base sdk's. When C++ Language Dialect is set to C++11 or GNU++11 i get a different Semantic Issue error:

wdl-ol/WDL/IPlug/IGraphicsMac.mm:279:21: Non-constant-expression cannot 
be narrowed from type 'int' to 'CGFloat' (aka 'double') in initializer list 

IGraphicsMac.mm

NSSize size = { w, h };
[(IGRAPHICS_COCOA*) mGraphicsCocoa setFrameSize: size ];

Different environments tried'

Xcode8.1 - MacOS Siera10.12.11 (fresh-install!)

Xcode6, 6.1, 7, 7.2.1, 7.3.1 - Yosemite10.10.5 (old setup)

Aucun commentaire:

Enregistrer un commentaire