Hi,
The Introjucer fails to build with last commits probably due to my C++98 compiler.
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/../../JuceLibraryCode/modules/juce_data_structures/../../../../../modules/juce_data_structures/values/juce_Value.h: In static member function 'static juce::Value& PathSettingsTab::getPathByKey(const juce::String&, DependencyPathOS)': /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/../../JuceLibraryCode/modules/juce_data_structures/../../../../../modules/juce_data_structures/values/juce_Value.h:224: error: 'juce::Value& juce::Value::operator=(const juce::Value&)' is private /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:119: error: within this context /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp: In static member function 'static juce::String PathSettingsTab::getFallbackPathByKey(const juce::String&, DependencyPathOS)': /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:132: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:137: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:138: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:147: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:148: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:156: error: 'DependencyPathOS' is not a class or namespace /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Application/jucer_GlobalPreferences.cpp:160: error: 'DependencyPathOS' is not a class or namespace
There is two errors.
- Because C++98 doesn’t manage scoped enum (works for instance with the code below).
return os == DependencyPath::windows ? "c:\\SDKs\\android-sdk" : "~/Library/Android/sdk";
- The second as assignment operator of Value is private at link below.
But it is less obvious for me to solve it without investigating a bit more.