TA的每日心情 | 开心 2024-02-17 18:16 |
---|
签到天数: 14 天 [LV.3]偶尔看看II
管理员
这里没有广告...
- 积分
- 10709
|
1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1796): warning C4800: “int”: 将值强制为布尔值“true”或“false”(性能警告)
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1775): 参见对正在编译的函数 模板 实例化“std::pair<_Ty1,_Ty2> std::_Tree<_Traits>::_Insert_nohint<std::pair<const _Kty,_Ty>&,_Nodety>(bool,_Valty,_Nodety)”的引用
1> with
1> [
1> _Ty1=std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>>,
1> _Ty2=bool,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Kty=std::string,
1> _Ty=CPTCensorStatusItem *,
1> _Nodety=std::_Tree_node<std::pair<const std::string,CPTCensorStatusItem *>,void *> *,
1> _Valty=std::pair<const std::string,CPTCensorStatusItem *> &
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1775): 参见对正在编译的函数 模板 实例化“std::pair<_Ty1,_Ty2> std::_Tree<_Traits>::_Insert_nohint<std::pair<const _Kty,_Ty>&,_Nodety>(bool,_Valty,_Nodety)”的引用
1> with
1> [
1> _Ty1=std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>>,
1> _Ty2=bool,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Kty=std::string,
1> _Ty=CPTCensorStatusItem *,
1> _Nodety=std::_Tree_node<std::pair<const std::string,CPTCensorStatusItem *>,void *> *,
1> _Valty=std::pair<const std::string,CPTCensorStatusItem *> &
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1163): 参见对正在编译的函数 模板 实例化“std::_Tree_iterator<_Mytree> std::_Tree<_Traits>::_Insert_hint<std::pair<_Ty1,_Ty2>&,std::_Tree_node<_Value_type,_Voidptr>*>(std::_Tree_const_iterator<_Mytree>,_Valty,_Nodety)”的引用
1> with
1> [
1> _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Ty1=const std::string,
1> _Ty2=CPTCensorStatusItem *,
1> _Value_type=std::pair<const std::string,CPTCensorStatusItem *>,
1> _Voidptr=void *,
1> _Valty=std::pair<const std::string,CPTCensorStatusItem *> &,
1> _Nodety=std::_Tree_node<std::pair<const std::string,CPTCensorStatusItem *>,void *> *
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1163): 参见对正在编译的函数 模板 实例化“std::_Tree_iterator<_Mytree> std::_Tree<_Traits>::_Insert_hint<std::pair<_Ty1,_Ty2>&,std::_Tree_node<_Value_type,_Voidptr>*>(std::_Tree_const_iterator<_Mytree>,_Valty,_Nodety)”的引用
1> with
1> [
1> _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Ty1=const std::string,
1> _Ty2=CPTCensorStatusItem *,
1> _Value_type=std::pair<const std::string,CPTCensorStatusItem *>,
1> _Voidptr=void *,
1> _Valty=std::pair<const std::string,CPTCensorStatusItem *> &,
1> _Nodety=std::_Tree_node<std::pair<const std::string,CPTCensorStatusItem *>,void *> *
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\map(181): 参见对正在编译的函数 模板 实例化“std::_Tree_iterator<_Mytree> std::_Tree<_Traits>::insert<std::pair<_Ty1,_Ty2>>(std::_Tree_const_iterator<_Mytree>,_Valty &&)”的引用
1> with
1> [
1> _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Ty1=std::basic_string<char,std::char_traits<char>,std::allocator<char>>,
1> _Ty2=CPTCensorStatusItem *,
1> _Valty=std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>>,CPTCensorStatusItem *>
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\map(181): 参见对正在编译的函数 模板 实例化“std::_Tree_iterator<_Mytree> std::_Tree<_Traits>::insert<std::pair<_Ty1,_Ty2>>(std::_Tree_const_iterator<_Mytree>,_Valty &&)”的引用
1> with
1> [
1> _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const std::string,CPTCensorStatusItem *>>>,
1> _Traits=std::_Tmap_traits<std::string,CPTCensorStatusItem *,CGraphFrame::Compare<std::string>,std::allocator<std::pair<const std::string,CPTCensorStatusItem *>>,false>,
1> _Ty1=std::basic_string<char,std::char_traits<char>,std::allocator<char>>,
1> _Ty2=CPTCensorStatusItem *,
1> _Valty=std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>>,CPTCensorStatusItem *>
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\map(174): 编译类 模板 成员函数“CPTCensorStatusItem *&std::map<_Kty,_Ty,_Pr>::operator [](std::basic_string<_Elem,_Traits,_Alloc> &&)”时
1> with
1> [
1> _Kty=std::string,
1> _Ty=CPTCensorStatusItem *,
1> _Pr=CGraphFrame::Compare<std::string>,
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Alloc=std::allocator<char>
1> ]
1> d:\xxx.h(104): 参见对正在编译的函数 模板 实例化“CPTCensorStatusItem *&std::map<_Kty,_Ty,_Pr>::operator [](std::basic_string<_Elem,_Traits,_Alloc> &&)”的引用
1> with
1> [
1> _Kty=std::string,
1> _Ty=CPTCensorStatusItem *,
1> _Pr=CGraphFrame::Compare<std::string>,
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Alloc=std::allocator<char>
1> ]
1> d:\xxx.h(94): 参见对正在编译的类 模板 实例化“std::map<_Kty,_Ty,_Pr>”的引用
1> with
1> [
1> _Kty=std::string,
1> _Ty=CPTCensorStatusItem *,
1> _Pr=CGraphFrame::Compare<std::string>
1> ]
极有可能的原因:少了 #include <string>
(注意,不是string.h,如果包含了string.h,请改为string) |
|