jucedev\modules\juce_dsp\containers/juce_SIMDRegister.h(106): warning C4166: illegal calling convention for constructor/destructor
VS2015, 32bit
JUCE_VECTOR_CALLTYPE is __vectorcall
jucedev\modules\juce_dsp\containers/juce_SIMDRegister.h(106): warning C4166: illegal calling convention for constructor/destructor
VS2015, 32bit
JUCE_VECTOR_CALLTYPE is __vectorcall
Also some errors:
jucedev\modules\juce_dsp\containers/juce_SIMDRegister.h(186): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
I have these warnings/errors too.
Please try pulling the develop branch. Things should be better with this commit:
just curious, better of fixed? The headline only mentions VS2017
Oh sorry, I didn’t read carefully enough. Everything works as expected in VS2017, but not in earlier versions of Visual Studio.
Will these be fixed?
containers/juce_SIMDRegister.h(186): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_AudioBlock.h(556): note: see reference to class template instantiation 'juce::dsp::SIMDRegister<float>'
frequency/juce_Convolution.h(143): note: see reference to class template instantiation 'juce::dsp::AudioBlock<float>' b
containers/juce_SIMDRegister.h(189): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(192): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(186): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_AudioBlock.h(556): note: see reference to class template instantiation 'juce::dsp::SIMDRegister<float>'
containers/juce_SIMDRegister.h(226): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
frequency/juce_Convolution.h(143): note: see reference to class template instantiation 'juce::dsp::AudioBlock<float>' b
containers/juce_SIMDRegister.h(229): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(189): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(186): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_AudioBlock.h(556): note: see reference to class template instantiation 'juce::dsp::SIMDRegister<float>'
containers/juce_SIMDRegister.h(232): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(192): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
frequency/juce_Convolution.h(143): note: see reference to class template instantiation 'juce::dsp::AudioBlock<float>' b
containers/juce_SIMDRegister.h(226): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(189): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(229): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
containers/juce_SIMDRegister.h(186): error C2719: 'v': formal parameter with requested alignment of 16 won't be aligned
Yes, we need these fixed for VS2015
My work-around for now is to
#ifdef _WIN64
#define JUCE_USE_SIMD 1
#else
#define JUCE_USE_SIMD 0
#endif
in AppConfig.h
Thanks,
Rail
Any plans to support Visual Studio 2015 again?
Just for in case some it might be helpful to someone, I’ve created a secondary VS2015 exporter set to Win32 and with JUCE_USE_SIMD=0 in the Extra Preprocessor Definitions
This way you won’t need hand edit AppConfig.h 
What version of master is this fixed in? I can’t work it out, going git-blind 