Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ./src/B.cpp:7:0:
- include/B.h:33:35: error: ‘type_info’ in namespace ‘hx’ does not name a type
- include/B.h:33:50: error: ISO C++ forbids declaration of ‘inType’ with no type [-fpermissive]
- ./src/B.cpp:28:40: error: ‘type_info’ in namespace ‘hx’ does not name a type
- ./src/B.cpp:28:55: error: ISO C++ forbids declaration of ‘inType’ with no type [-fpermissive]
- ./src/B.cpp: In member function ‘hx::Object* B_obj::__ToInterface(const int&)’:
- ./src/B.cpp:29:29: error: no match for ‘operator==’ in ‘inType == *(const std::type_info*)(& _ZTI5A_obj)’
- ./src/B.cpp:29:29: note: candidates are:
- In file included from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:175:0,
- from ./src/B.cpp:1:
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:160:1: note: bool operator==(bool, const null&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:160:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const null&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:161:1: note: bool operator==(double, const null&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:161:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const null&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:162:1: note: bool operator==(float, const null&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:162:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const null&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:163:1: note: bool operator==(int, const null&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/null.h:163:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const null&’
- In file included from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:178:0,
- from ./src/B.cpp:1:
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:274:13: note: bool operator==(bool, const Dynamic&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:274:13: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const Dynamic&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:276:13: note: bool operator==(const String&, const Dynamic&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:276:13: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const Dynamic&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: bool operator==(double, const Dynamic&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const Dynamic&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: bool operator==(float, const Dynamic&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const Dynamic&’
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: bool operator==(int, const Dynamic&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/Dynamic.h:306:1: note: no known conversion for argument 2 from ‘const std::type_info’ to ‘const Dynamic&’
- In file included from /usr/include/c++/4.7/ext/alloc_traits.h:37:0,
- from /usr/include/c++/4.7/bits/stl_construct.h:63,
- from /usr/include/c++/4.7/bits/stl_tempbuf.h:62,
- from /usr/include/c++/4.7/bits/stl_algo.h:64,
- from /usr/include/c++/4.7/algorithm:63,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/Array.h:199,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:184,
- from ./src/B.cpp:1:
- /usr/include/c++/4.7/bits/allocator.h:124:5: note: template<class _Tp> bool std::operator==(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&)
- /usr/include/c++/4.7/bits/allocator.h:124:5: note: template argument deduction/substitution failed:
- ./src/B.cpp:29:29: note: mismatched types ‘const std::allocator<_Tp1>’ and ‘const int’
- In file included from /usr/include/c++/4.7/ext/alloc_traits.h:37:0,
- from /usr/include/c++/4.7/bits/stl_construct.h:63,
- from /usr/include/c++/4.7/bits/stl_tempbuf.h:62,
- from /usr/include/c++/4.7/bits/stl_algo.h:64,
- from /usr/include/c++/4.7/algorithm:63,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/Array.h:199,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:184,
- from ./src/B.cpp:1:
- /usr/include/c++/4.7/bits/allocator.h:119:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_T1>&, const std::allocator<_T2>&)
- /usr/include/c++/4.7/bits/allocator.h:119:5: note: template argument deduction/substitution failed:
- ./src/B.cpp:29:29: note: mismatched types ‘const std::allocator<_T1>’ and ‘const int’
- In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
- from /usr/include/c++/4.7/algorithm:62,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/Array.h:199,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:184,
- from ./src/B.cpp:1:
- /usr/include/c++/4.7/bits/stl_iterator.h:343:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&)
- /usr/include/c++/4.7/bits/stl_iterator.h:343:5: note: template argument deduction/substitution failed:
- ./src/B.cpp:29:29: note: mismatched types ‘const std::reverse_iterator<_IteratorL>’ and ‘const int’
- In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
- from /usr/include/c++/4.7/algorithm:62,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/Array.h:199,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:184,
- from ./src/B.cpp:1:
- /usr/include/c++/4.7/bits/stl_iterator.h:293:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- /usr/include/c++/4.7/bits/stl_iterator.h:293:5: note: template argument deduction/substitution failed:
- ./src/B.cpp:29:29: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
- In file included from /usr/include/c++/4.7/utility:72:0,
- from /usr/include/c++/4.7/algorithm:61,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/Array.h:199,
- from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:184,
- from ./src/B.cpp:1:
- /usr/include/c++/4.7/bits/stl_pair.h:206:5: note: template<class _T1, class _T2> bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- /usr/include/c++/4.7/bits/stl_pair.h:206:5: note: template argument deduction/substitution failed:
- ./src/B.cpp:29:29: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘const int’
- ./src/B.cpp:30:36: error: no matching function for call to ‘B_obj::__ToInterface(const int&)’
- ./src/B.cpp:30:36: note: candidate is:
- In file included from /usr/lib/haxe/lib/hxcpp/3,0,0//include/hxcpp.h:176:0,
- from ./src/B.cpp:1:
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/hx/Object.h:65:24: note: virtual hx::Object* hx::Object::__ToInterface(const std::type_info&)
- /usr/lib/haxe/lib/hxcpp/3,0,0//include/hx/Object.h:65:24: note: no known conversion for argument 1 from ‘const int’ to ‘const std::type_info&’
Advertisement
Add Comment
Please, Sign In to add comment