Closed qwag closed 2 years ago
Could you try?
cmake -Bbuild-x64 -H. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wno-narrowing"
Alternatively you can add the static cast as suggested:
char temp[2] = {static_cast<char>('0' + (char)digit), '\0'};
Could you try?
cmake -Bbuild-x64 -H. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wno-narrowing"
I can confirm that this is sufficient in order for the subsequent build steps to complete on a MacBook Pro M1 running macOS Big Sur version 11.5.2, with Xcode 12.5.1 (Build version 12E507).
Now there are macOS builds on CI and VST2 headers are no longer used.
I'm running an M1 macbook and i'm getting these errors when i try to build the plugin. I'm not a programmer and a friend of mine who is has tried to help me fix this error but more just crop up when we change the problem line of code, so we're a bit stumped. If someone could either send me a build (probably for intel mac would be best as i'm running ableton under rosetta and plugins built for M1 might not play nice with that) or tell me how to fix this that would be great.