Updated to 5.1.0-0-g8bb611f4d tonight. While I can build OK on linux, my 32-bit and 64-bit Windows builds are both broken in the same places. I’m using VisualStudio 2013 on Windows 7. Errors I’m seeing are all in juce_Mathsfunctions.h. Looks like this:
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(346): error C2146: syntax error : missing ';' before identifier 'FloatType' [build32\src-img\gml_img.vcxproj]
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(350) : see reference to class template instantiation 'juce::MathConstants<FloatType>' being compiled
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(346): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [build32\src-img\gml_img.vcxproj]
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(349): error C2146: syntax error : missing ';' before identifier 'FloatType' [build32\src-img\gml_img.vcxproj]
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(349): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [build32\src-img\gml_img.vcxproj]
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(349): error C2086: 'int juce
::MathConstants<FloatType>::constexpr' : redefinition [build32\src-img\gml_img.vcxproj]
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(346) : see declaration of 'juce::MathConstants<FloatType>::constexpr'
Suspecting that VS2013 doesn’t support constexpr, I commented it out and put in const instead, but that still isn’t working. Error messages then become:
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(346): error C2864: 'juce::MathConstants<double>::pi' : a static data member with an in-class initializer must have non-volatile const integral type
type is 'const double'
jucelibrarycode\modules\juce_core\maths/juce_MathsFunctions.h(355) : see reference to class template instantiation 'juce::MathConstants<double>' being compiled
But at now past 1am, I have to stop for the night.
