部件号:TDA2EG
工具/软件:TI C/C++编译器
您好,
当TI ARM编译器无法编译某段代码时,我会感到很烦。 但是,相同的代码可以使用GCC ARM正常编译。
TI ARM编译器版本-> TI-CGT-ARM_LTS.2.LTS 16.9
gcc arm编译器版本-> gcc-arm-none-eabi-4_9-2015q3.
build commond -> ./armcl.exe -c astl/source/stack_allocator.cpp -i astl/source/-i astl/source/arch/cpp03/-i ./include/
错误:
"../include/s__tree.h",第257行:错误:没有构造函数实例"std::std:::priv:_stlp_alloc_proxy<_value,_TP,_MaybeReboundAlloc>::_stlp_alloc_proxy [with pair value=std::std:::std_tree_node_base_base_,_: _MaybeReboundAlloc=astl::Allocer<std::priv::_rb_tree_node<std::pair<const std::size_t, astl::IAllocer*>>>匹配参数列表
参数类型为:(const astl::Allocer<std::pair<const std::size_t,astl::IAllocer*>>,std:priv::_rb_tree _node_base)
检测时间:
"std:::priv::_rb_tree_base<_TP,_Alloc>::_rb_tree_base (const std::priv:::_rb_tree_base<_TP,_Alloc>:::allocator_type &)[与_TP=std::对<const::::::size_t,
"std::priv::_rb_tree的实例化<_Key,_Compare,_Value,_KeyOfValue,_stitics, _Alloc>::_rb_tree (const _Compare &,const std::priv::_rb_tree<_Key,_Compare,_Value,_KeyOfValue, _stites,_Alloc>::allocator_type &)[使用_Key=std::size_t,_Compare=std::les<std::sstd::value=std::pair<const std::size_t, astl:IAllocator*>,_KeyOfValue=std::std:::_Select<std:<std:<std:<constd:<std:<: astl::IAllocator *>>,_features=std::priv:_MapTraitsT<std::pair< const std::size_t,astl::IAllocator *)>,_Alloc=astl:::Allocor<std::pair< const std::size_t,astl:::::::::IAllocator iallocator行地址:/115"。
"std::map<_Key,_TP,_Compare,_Alloc>:::MAP (const _Compare &,const std:::map<_Key, _TP,_Compare,_Alloc>:::allocator_type &)[with _Key=std::size_t,_TP=astl::IAllocator *,_Compare=std::less <标准:size_t>,_Alloc=astl:::::pair<const:::::size_t,astl:astl/astl/astl/line.03"
在"astl/source_pool.allocator"的第476行中,"astl::Map,_Ty,_Pr>::Map (astl:::IAllocator *)[with _KTY:std_t,_Ty=astl:::IAllocator *,cpp _Pr=std::less <std::::::::::size_t>]"的实例化
编译"astl/source/pool_allocator.cpp时检测到1个错误。
>>编译失败