I just switched to the newest JUCE 5.4.2.
Unfortunately I am stuck on XCode 8.2.1, because my machine is very old.
And if I trye to compile the JUCE “imagesDemo” I am getting two compiler errors:
- /Users/MacUser/JUCE/modules/juce_core/files/juce_File.cpp:66:50: Default initialization of an object of const type ‘const juce::File’ without a user-provided default constructor
- /Users/MacUser/JUCE/modules/juce_core/files/juce_TemporaryFile.cpp:35:16: Constructor for ‘juce::TemporaryFile’ must explicitly initialize the const member ‘targetFile’
I get the same error, when compiling my own project.
The files did not change in quite a long time, as far as I can see on the JUCE GitHub. So not sure, whats causing this.
Has anyone else seen this and is there a workaround?
I can get rid of the problem by reverting back to JUCE 5.4.1. But my colleague is using JUCE 5.4.2. So I am kind of forced to use JUCE 5.4.2, too.
EDIT: My current workaround is commenting out the deprecated File::nonexistent definition and the problematic first constructor (which does not take the targetFile input) in the JUCE code.