一个关于C++ MAP的疑问?无数个警告?
我在程序中使用了STL的map,引用了头文件后我都是类似这样定义的
std::map<const char*,CPDF_Object*>* m_dictionary;
程序也没什么错误,但为什么我总是提示有一大堆的警告,整个程序下来大概有100多个,警告都是类似以下的信息:
e:\yyf\pdfwriter_optimize\name.h(85) : see reference to class template instantiation 'std::map<char const *,class CPDF_Object *,struct std::less<char const *>,class std::allocator<class CPDF_Object *> >' being compiled
c:\program files\microsoft visual studio\vc98\include\map(85) : warning C4786: '?rend@?$map@PBDPAVCPDF_Object@@U?$less@PBD@std@@V?$allocator@PAVCPDF_Object@@@3@@std@@QBE?AV?$reverse_bidirectional_iterator@Vconst_iterator@?$_Tree@PBDU?$pair@QBDPAVCPD
F_Object@@@std@@U_Kfn@?$map@PBDPAVCPDF_Object@@U?$less@PBD@std@@V?$allocator@PAVCPDF_Object@@@3@@2@U?$less@PBD@2@V?$allocator@PAVCPDF_Object@@@2@@std@@U?$pair@QBDPAVCPDF_Object@@@3@ABU43@PBU43@H@2@XZ' : identifier was truncated to '255' characters in the browser information
这到底是怎么回事?还请各位资深级大哥大姐们指点一下,本人新手,先谢谢了!