All pastes #1371102 Raw Edit

error

public text v1 · immutable
#1371102 ·published 2009-03-25 00:20 UTC
rendered paste body
1>------ Rebuild All started: Project: Builder, Configuration: Release Win32 ------1>Deleting intermediate and output files for project 'Builder', configuration 'Release|Win32'1>Compiling...1>Builder.cpp1>..\src\Builder\Builder.cpp(206) : error C2440: 'initializing' : cannot convert from 'int' to 'std::tr1::shared_ptr<_Ty>'1>        with1>        [1>            _Ty=GameObject1>        ]1>        No constructor could take the source type, or constructor overload resolution was ambiguous1>..\src\Builder\Builder.cpp(209) : error C2440: 'initializing' : cannot convert from 'std::list<_Ty,_Ax>::_Iterator<_Secure_validation>' to 'std::_Tree<_Traits>::iterator'1>        with1>        [1>            _Ty=std::tr1::shared_ptr<Object>,1>            _Ax=std::allocator<ObjectPointer>,1>            _Secure_validation=true1>        ]1>        and1>        [1>            _Traits=std::_Tset_traits<ObjectPointer,std::less<ObjectPointer>,std::allocator<ObjectPointer>,false>1>        ]1>        No constructor could take the source type, or constructor overload resolution was ambiguous1>..\src\Builder\Builder.cpp(210) : error C2440: 'initializing' : cannot convert from 'std::list<_Ty,_Ax>::_Iterator<_Secure_validation>' to 'std::_Tree<_Traits>::iterator'1>        with1>        [1>            _Ty=std::tr1::shared_ptr<Object>,1>            _Ax=std::allocator<ObjectPointer>,1>            _Secure_validation=true1>        ]1>        and1>        [1>            _Traits=std::_Tset_traits<ObjectPointer,std::less<ObjectPointer>,std::allocator<ObjectPointer>,false>1>        ]1>        No constructor could take the source type, or constructor overload resolution was ambiguous1>..\src\Builder\Builder.cpp(222) : error C2440: 'type cast' : cannot convert from 'std::tr1::shared_ptr<_Ty>' to 'GameObject *'1>        with1>        [1>            _Ty=Object1>        ]1>        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called1>..\src\Builder\Builder.cpp(270) : error C2440: 'delete' : cannot convert from 'GameObjectPointer' to 'void *'1>        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called1>..\src\Builder\Builder.cpp(272) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion)1>        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\memory(1468): could be 'std::tr1::shared_ptr<_Ty> &std::tr1::shared_ptr<_Ty>::operator =(const std::tr1::shared_ptr<_Ty> &)'1>        with1>        [1>            _Ty=GameObject1>        ]1>        while trying to match the argument list '(GameObjectPointer, int)'1>Setup.cpp1>Build log was saved at "file://c:\server\AspireCore\branches\Hearthstone\src\Custom\projects\2008_int_release_Builder\BuildLog.htm"1>Builder - 6 error(s), 0 warning(s)========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========