==== Building graphics (release) ==== Creating obj/graphics_Release precompiled.h Camera.cpp CinemaTrack.cpp ColladaManager.cpp Color.cpp Decal.cpp Font.cpp FontManager.cpp FontMetrics.cpp Frustum.cpp GameView.cpp HeightMipmap.cpp HFTracer.cpp LightEnv.cpp LOSTexture.cpp MapGenerator.cpp MapReader.cpp MapWriter.cpp Material.cpp MaterialManager.cpp MeshManager.cpp MiniPatch.cpp Model.cpp ModelAbstract.cpp ModelDef.cpp ObjectBase.cpp ObjectEntry.cpp ObjectManager.cpp Overlay.cpp ParticleEmitter.cpp ParticleEmitterType.cpp ParticleManager.cpp Patch.cpp ShaderDefines.cpp ShaderManager.cpp ShaderProgram.cpp ShaderProgramFFP.cpp ../../../source/graphics/ShaderProgramFFP.cpp:474:15: warning: 'CShaderProgramFFP_GuiAdd::Uniform' hides overloaded virtual function [-Woverloaded-virtual] virtual void Uniform(Binding id, float v0, float v1, float v2, float v3) ^ ../../../source/graphics/ShaderProgramFFP.cpp:412:15: note: hidden overloaded virtual function 'CShaderProgramFFP_Gui_Base::Uniform' declared here virtual void Uniform(Binding id, const CMatrix3D& v) ^ ../../../source/graphics/ShaderProgramFFP.cpp:645:15: warning: 'CShaderProgramFFP_GuiSolid::Uniform' hides overloaded virtual function [-Woverloaded-virtual] virtual void Uniform(Binding id, float v0, float v1, float v2, float v3) ^ ../../../source/graphics/ShaderProgramFFP.cpp:412:15: note: hidden overloaded virtual function 'CShaderProgramFFP_Gui_Base::Uniform' declared here virtual void Uniform(Binding id, const CMatrix3D& v) ^ 2 warnings generated. ShaderTechnique.cpp SkeletonAnimDef.cpp SkeletonAnimManager.cpp Terrain.cpp TerrainProperties.cpp TerrainTextureEntry.cpp TerrainTextureManager.cpp TerritoryBoundary.cpp TerritoryTexture.cpp TextRenderer.cpp TextureConverter.cpp TextureManager.cpp Unit.cpp UnitAnimation.cpp UnitManager.cpp JSInterface_GameView.cpp AlphaMapCalculator.cpp DecalRData.cpp HWLightingModelRenderer.cpp InstancingModelRenderer.cpp MikktspaceWrap.cpp ModelRenderer.cpp In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:76: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/pch/pch_boost.h:35: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem.hpp:16: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path.hpp:25: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path_traits.hpp:26: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:661:16: error: non-const lvalue reference to type 'value_type' (aka 'boost::shared_ptr') cannot bind to a value of unrelated type 'void *' return *(this->__end_ - 1); ^~~~~~~~~~~~~~~~~~~ ../../../source/renderer/ModelRenderer.cpp:505:52: note: in instantiation of member function 'std::__1::vector, ProxyAllocator >::back' requested here ...if (sortByDistTechs.empty() || sortByDistTechs.back() != tech) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:594: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1505:36: error: no viable conversion from 'const boost::shared_ptr' to 'void *' ::new ((void*)__p) _Tp(__a0); ^ ~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1472:25: note: in instantiation of function template specialization 'std::__1::allocator_traits >::construct >' requested here __alloc_traits::construct(this->__alloc(), ^ ../../../source/renderer/ModelRenderer.cpp:506:22: note: in instantiation of member function 'std::__1::vector, ProxyAllocator >::push_back' requested here sortByDistTechs.push_back(tech); ^ /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/smart_ptr/detail/operator_bool.hpp:45:5: note: candidate function operator unspecified_bool_type() const // never throws ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:76: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/pch/pch_boost.h:35: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem.hpp:16: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path.hpp:25: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path_traits.hpp:26: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1460:21: error: no matching member function for call to 'construct' __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), ... ~~~~~~~~~~~~~~~~^~~~~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1477:9: note: in instantiation of function template specialization 'std::__1::vector, ProxyAllocator >::__push_back_slow_path >' requested here __push_back_slow_path(__x); ^ ../../../source/renderer/ModelRenderer.cpp:506:22: note: in instantiation of member function 'std::__1::vector, ProxyAllocator >::push_back' requested here sortByDistTechs.push_back(tech); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1503:21: note: candidate template ignored: substitution failure [with _Tp = void *, _A0 = boost::shared_ptr] static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0) ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1497:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p) ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1509:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1516:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:76: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/pch/pch_boost.h:35: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem.hpp:16: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path.hpp:25: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path_traits.hpp:26: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1384:12: error: non-const lvalue reference to type 'value_type' (aka 'CModel *') cannot bind to a value of unrelated type 'void *' return this->__begin_[__n]; ^~~~~~~~~~~~~~~~~~~ ../../../source/renderer/ModelRenderer.cpp:515:32: note: in instantiation of member function 'std::__1::vector >::operator[]' requested here CModel* model = it->second[i]; ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:594: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1505:36: error: no viable conversion from 'const SMRSortByDistItem' to 'void *' ::new ((void*)__p) _Tp(__a0); ^ ~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1472:25: note: in instantiation of function template specialization 'std::__1::allocator_traits >::construct' requested here __alloc_traits::construct(this->__alloc(), ^ ../../../source/renderer/ModelRenderer.cpp:521:22: note: in instantiation of member function 'std::__1::vector >::push_back' requested here sortByDistItems.push_back(itemWithDist); ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:76: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/pch/pch_boost.h:35: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem.hpp:16: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path.hpp:25: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../libraries/osx/boost/include/boost/filesystem/path_traits.hpp:26: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1460:21: error: no matching member function for call to 'construct' __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), ... ~~~~~~~~~~~~~~~~^~~~~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:1477:9: note: in instantiation of function template specialization 'std::__1::vector >::__push_back_slow_path' requested here __push_back_slow_path(__x); ^ ../../../source/renderer/ModelRenderer.cpp:521:22: note: in instantiation of member function 'std::__1::vector >::push_back' requested here sortByDistItems.push_back(itemWithDist); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1503:21: note: candidate template ignored: substitution failure [with _Tp = void *, _A0 = SMRSortByDistItem] static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0) ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1497:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p) ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1509:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1516:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3557:17: error: no matching function for call to object of type 'SMRBatchModel' if (__comp(*--__last, *__first)) ^~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3743:5: note: in instantiation of function template specialization 'std::__1::__sort' requested here __sort<_Comp_ref>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3777:5: note: in instantiation of function template specialization 'std::__1::sort' requested here _VSTD::sort<_Tp*, _Comp_ref>(__first.base(), __last.base(), __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../source/renderer/ModelRenderer.cpp:530:5: note: in instantiation of function template specialization 'std::__1::sort' requested here std::sort(it->second.begin(), it->second... ^ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3604:14: error: no matching function for call to object of type 'SMRBatchModel' if (!__comp(*__i, *__m)) // if *__first == *__m ^~~~~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3672:24: error: no matching function for call to object of type 'SMRBatchModel' while (__comp(*__i, *__m)) ^~~~~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3675:25: error: no matching function for call to object of type 'SMRBatchModel' while (!__comp(*--__j, *__m)) ^~~~~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3689:27: error: no matching function for call to object of type 'SMRBatchModel' if (__i != __m && __comp(*__m, *__i)) ^~~~~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3307:10: error: no matching function for call to object of type 'SMRBatchModel' if (!__c(*__y, *__x)) // if x <= y ^~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3561:13: note: in instantiation of function template specialization 'std::__1::__sort3' requested here _VSTD::__sort3<_Compare>(__first, __first+1, --__last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3743:5: note: in instantiation of function template specialization 'std::__1::__sort' requested here __sort<_Comp_ref>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3777:5: note: in instantiation of function template specialization 'std::__1::sort' requested here _VSTD::sort<_Tp*, _Comp_ref>(__first.base(), __last.base(), __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../source/renderer/ModelRenderer.cpp:530:5: note: in instantiation of function template specialization 'std::__1::sort' requested here std::sort(it->second.begin(), it->second... ^ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3321:9: error: no matching function for call to object of type 'SMRBatchModel' if (__c(*__z, *__y)) // x > y, if y > z ^~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3329:9: error: no matching function for call to object of type 'SMRBatchModel' if (__c(*__z, *__y)) // if y > z ^~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3344:20: error: no matching function for call to '__sort3' unsigned __r = __sort3<_Compare>(__x1, __x2, __x3, __c); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3564:13: note: in instantiation of function template specialization 'std::__1::__sort4' requested here _VSTD::__sort4<_Compare>(__first, __first+1, __first+2, --__... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3743:5: note: in instantiation of function template specialization 'std::__1::__sort' requested here __sort<_Comp_ref>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3777:5: note: in instantiation of function template specialization 'std::__1::sort' requested here _VSTD::sort<_Tp*, _Comp_ref>(__first.base(), __last.base(), __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../source/renderer/ModelRenderer.cpp:530:5: note: in instantiation of function template specialization 'std::__1::sort' requested here std::sort(it->second.begin(), it->second... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3304:1: note: candidate template ignored: substitution failure [with _Compare = SMRBatchModel &, _ForwardIterator = void **] __sort3(_ForwardIterator __x, _ForwardIterator __y, _ForwardIterator __z... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3345:9: error: no matching function for call to object of type 'SMRBatchModel' if (__c(*__x4, *__x3)) ^~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3370:20: error: no matching function for call to '__sort4' unsigned __r = __sort4<_Compare>(__x1, __x2, __x3, __x4, __c); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3567:13: note: in instantiation of function template specialization 'std::__1::__sort5' requested here _VSTD::__sort5<_Compare>(__first, __first+1, __first+2, __fi... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3743:5: note: in instantiation of function template specialization 'std::__1::__sort' requested here __sort<_Comp_ref>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3777:5: note: in instantiation of function template specialization 'std::__1::sort' requested here _VSTD::sort<_Tp*, _Comp_ref>(__first.base(), __last.base(), __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../source/renderer/ModelRenderer.cpp:530:5: note: in instantiation of function template specialization 'std::__1::sort' requested here std::sort(it->second.begin(), it->second... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3341:1: note: candidate template ignored: substitution failure [with _Compare = SMRBatchModel &, _ForwardIterator = void **] __sort4(_ForwardIterator __x1, _ForwardIterator __x2, _ForwardIterator __x3, ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3371:9: error: no matching function for call to object of type 'SMRBatchModel' if (__c(*__x5, *__x4)) ^~~ ../../../source/renderer/ModelRenderer.cpp:287:7: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'CModel *' bool operator()(CModel* a, CModel* b) ^ In file included from ../../../source/renderer/ModelRenderer.cpp:1: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/pch/graphics/precompiled.h:18: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/precompiled.h:68: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/stl.h:78: In file included from /Users/vangennip/0ad/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/osx/osx_stl_fixes.h:26: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/istream:156: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ostream:130: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/string:434: /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3435:5: error: no matching function for call to '__sort3' __sort3<_Compare>(__first, __first+1, __j, __comp); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3572:13: note: in instantiation of function template specialization 'std::__1::__insertion_sort_3' requested here _VSTD::__insertion_sort_3<_Compare>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3743:5: note: in instantiation of function template specialization 'std::__1::__sort' requested here __sort<_Comp_ref>(__first, __last, __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3777:5: note: in instantiation of function template specialization 'std::__1::sort' requested here _VSTD::sort<_Tp*, _Comp_ref>(__first.base(), __last.base(), __comp); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__config:300:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../../source/renderer/ModelRenderer.cpp:530:5: note: in instantiation of function template specialization 'std::__1::sort' requested here std::sort(it->second.begin(), it->second... ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:3304:1: note: candidate template ignored: substitution failure [with _Compare = SMRBatchModel &, _ForwardIterator = void **] __sort3(_ForwardIterator __x, _ForwardIterator __y, _ForwardIterator __z... ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [obj/graphics_Release/ModelRenderer.o] Error 1 make: *** [graphics] Error 2