The Introjucer fails to build with C++98


#1

Hi,

I get a bunch or errors again with C++98 compiler.

In file included from /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExporter.cpp:28:
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_Make.h: In member function 'void MakefileProjectExporter::initialiseDependencyPathValues()':
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_Make.h:353: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_Make.h:356: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_Make.h:359: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_Make.h:362: error: 'DependencyPathOS' is not a class or namespace
In file included from /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExporter.cpp:29:
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h: In member function 'void MSVCProjectExporterBase::initialiseDependencyPathValues()':
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:562: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:565: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:568: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:571: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:574: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:577: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:580: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_MSVC.h:583: error: 'DependencyPathOS' is not a class or namespace
In file included from /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExporter.cpp:30:
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h: In member function 'void XCodeProjectExporter::initialiseDependencyPathValues()':
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1507: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1510: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1513: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1516: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1519: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1522: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1525: error: expected primary-expression before '(' token
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_XCode.h:1528: error: 'DependencyPathOS' is not a class or namespace
In file included from /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExporter.cpp:31:
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../JuceLibraryCode/modules/juce_data_structures/../../../../../modules/juce_data_structures/values/juce_Value.h: In member function 'void AndroidProjectExporter::initialiseDependencyPathValues()':
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_Android.h:760: error: within this context
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_Android.h:766: error: within this context
In file included from /Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExporter.cpp:32:
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_CodeBlocks.h: In member function 'void CodeBlocksProjectExporter::initialiseDependencyPathValues()':
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_CodeBlocks.h:408: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/jucer_ProjectExport_CodeBlocks.h:408: error: 'DependencyPathOS' is not a class or namespace
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_CodeBlocks.h:414: error: within this context
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_CodeBlocks.h:420: error: within this context
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_CodeBlocks.h:428: error: within this context
/Users/nicolas/Work/JUCE/extras/Introjucer/Builds/MacOSX/../../Source/Project Saving/../../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/Project Saving/jucer_ProjectExport_CodeBlocks.h:434: error: within this context

All closely related to ( http://www.juce.com/forum/topic/introjucer-fails-build-c98 ).


#2

Which compiler is this?

(It's very hard to pick through other people's error lists and fix them, much easier for us to use the same compiler ourselves to find this kind of thing)


#3

Compiler is llvm.clang.1_0 and/or GCC 4.2 (Mac OS X 10.6).

It is exactly the same problems that those that have been fixed few days ago by timur, that’s why i didn’t provided more informations.

I don’t want to be clumsy. That’s why i already asked about what i’m supposed to do ( http://www.juce.com/forum/topic/best-build-or-download-policy ). Tell me if you change your mind.


#4

Hi 4321,

This should be fixed now, please update.

Sorry for this one. The reason is basically that we don't regularly test compilation on old compilers such as clang 1.0, or Visual Studio 2005/2008, for every commit that we do. We are looking into the possibility of automating that process, so hopefully afterwards this should happen less often.


#5

Hi,

And in the same time i test almost every commit you do :wink: TBH i don’t care since all are quickly fixed, but automatic testing should reduce the noise on the forum. Thanks again, compiles fine now.