I am using Introjucer to make LinuxMakefile project of a test project I am using. I get a few build failures. This is on Fedora 23 and Fedora 15. GCC out of the repo for each. I have tried with c++11 and c++03
Compiling Main.cpp Compiling juce_audio_basics.cpp In file included from ../../JuceLibraryCode/modules/juce_audio_basics/juce_audio_basics.cpp:78:0: ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp: In static member function ‘static void juce::FloatVectorOperations::abs(float*, const float*, int)’: ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp:824:27: error: no matching function for call to ‘ignoreUnused(juce::FloatVectorOperations::abs(float*, const float*, int)::<anonymous union>&)’ ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp:824:27: note: candidates are: ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:280:6: note: template<class Type1> void juce::ignoreUnused(const Type1&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:283:6: note: template<class Type1, class Type2> void juce::ignoreUnused(const Type1&, const Type2&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:286:6: note: template<class Type1, class Type2, class Type3> void juce::ignoreUnused(const Type1&, const Type2&, const Type3&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:289:6: note: template<class Type1, class Type2, class Type3, class Type4> void juce::ignoreUnused(const Type1&, const Type2&, const Type3&, const Type4&) In file included from ../../JuceLibraryCode/modules/juce_audio_basics/juce_audio_basics.cpp:78:0: ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp: In static member function ‘static void juce::FloatVectorOperations::abs(double*, const double*, int)’: ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp:840:27: error: no matching function for call to ‘ignoreUnused(juce::FloatVectorOperations::abs(double*, const double*, int)::<anonymous union>&)’ ../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp:840:27: note: candidates are: ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:280:6: note: template<class Type1> void juce::ignoreUnused(const Type1&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:283:6: note: template<class Type1, class Type2> void juce::ignoreUnused(const Type1&, const Type2&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:286:6: note: template<class Type1, class Type2, class Type3> void juce::ignoreUnused(const Type1&, const Type2&, const Type3&) ../../JuceLibraryCode/modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:289:6: note: template<class Type1, class Type2, class Type3, class Type4> void juce::ignoreUnused(const Type1&, const Type2&, const Type3&, const Type4&) make: *** [build/intermediate/Debug/juce_audio_basics_2442e4ea.o] Error 1
If I remove the calls to ignoreUnused I get a further failure
Compiling juce_audio_basics.cpp Compiling juce_audio_devices.cpp Compiling juce_audio_formats.cpp Compiling juce_audio_processors.cpp Compiling juce_core.cpp Compiling juce_cryptography.cpp Compiling juce_data_structures.cpp Compiling juce_events.cpp Compiling juce_graphics.cpp Compiling juce_gui_basics.cpp In file included from ../../JuceLibraryCode/modules/juce_gui_basics/juce_gui_basics.cpp:181:0: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp: In member function ‘void juce::SVGState::parseUse(const juce::SVGState::XmlPath&, juce::Path&) const’: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:568:66: error: no matching function for call to ‘juce::SVGState::XmlPath::applyOperationToChildWithID(const juce::String&, juce::SVGState::parseUse(const juce::SVGState::XmlPath&, juce::Path&) const::UsePathOp&) const’ ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:568:66: note: candidate is: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:46:14: note: template<class OperationType> bool juce::SVGState::XmlPath::applyOperationToChildWithID(const juce::String&, OperationType&) const ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp: In member function ‘void juce::SVGState::parseClipPath(const juce::SVGState::XmlPath&, juce::Drawable&) const’: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:707:67: error: no matching function for call to ‘juce::SVGState::XmlPath::applyOperationToChildWithID(juce::String&, juce::SVGState::parseClipPath(const juce::SVGState::XmlPath&, juce::Drawable&) const::GetClipPathOp&) const’ ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:707:67: note: candidate is: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:46:14: note: template<class OperationType> bool juce::SVGState::XmlPath::applyOperationToChildWithID(const juce::String&, OperationType&) const ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp: In member function ‘juce::FillType juce::SVGState::getGradientFillType(const juce::SVGState::XmlPath&, const juce::Path&, float) const’: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:766:78: error: no matching function for call to ‘juce::SVGState::XmlPath::applyOperationToChildWithID(juce::String, juce::SVGState::getGradientFillType(const juce::SVGState::XmlPath&, const juce::Path&, float) const::SetGradientStopsOp&) const’ ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:766:78: note: candidate is: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:46:14: note: template<class OperationType> bool juce::SVGState::XmlPath::applyOperationToChildWithID(const juce::String&, OperationType&) const ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp: In member function ‘juce::FillType juce::SVGState::getPathFillType(const juce::Path&, const juce::String&, const juce::String&, const juce::String&, juce::Colour) const’: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:910:67: error: no matching function for call to ‘juce::SVGState::XmlPath::applyOperationToChildWithID(juce::String&, juce::SVGState::getPathFillType(const juce::Path&, const juce::String&, const juce::String&, const juce::String&, juce::Colour) const::GetFillTypeOp&) const’ ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:910:67: note: candidate is: ../../JuceLibraryCode/modules/juce_gui_basics/drawables/juce_SVGParser.cpp:46:14: note: template<class OperationType> bool juce::SVGState::XmlPath::applyOperationToChildWithID(const juce::String&, OperationType&) const make: *** [build/intermediate/Debug/juce_gui_basics_a630dd20.o] Error 1
Any ideas?