warning C4503
-
hello....not sure why the #pragma disable isn't working.... the app has 14 warning of C4503, I've checked the source file that been complant about, here is the first 4 line of abscommbuffer.h #if !defined( __ABS_COMMBUFFER_H__ ) #define __ABS_COMMBUFFER_H__ #pragma warning( disable : 4786 ) #pragma warning( disable : 4503 ) it's other's app, I am not sure what exactly is this line doing: std::map< std::string, std::list< std::string > > mapLists; and the warning message: c:\program files\microsoft visual studio\vc98\include\xtree(199) : warning C4503: 'rbegin' : decorated name length exceeded, name was truncated c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree,class std::allocator >,struct std::pair,class std::allocator > const ,class std::list,class std::allocator >,class std::allocator,class std::allocator > > > >,struct std::map,class std::allocator >,class std::list,class std::allocato r >,class std::allocator,class std::allocator > > >,struct std::less,class std::allocator > >,class std::allocato r,class std::allocator >,class std::allocator,class std::allocator > > > > >::_Kfn,struct std::less,class std::allocator > >,class std::allocator,class std::allocator >,class std::allocator,class std::allocator > > > > >' being compiled c:\dev\c++\billing\taxreport\abscommbuffer.h(113) : see reference to class template instantiation 'std::map,class std::allocator >,class std::list,class std::allocator >,class
-
hello....not sure why the #pragma disable isn't working.... the app has 14 warning of C4503, I've checked the source file that been complant about, here is the first 4 line of abscommbuffer.h #if !defined( __ABS_COMMBUFFER_H__ ) #define __ABS_COMMBUFFER_H__ #pragma warning( disable : 4786 ) #pragma warning( disable : 4503 ) it's other's app, I am not sure what exactly is this line doing: std::map< std::string, std::list< std::string > > mapLists; and the warning message: c:\program files\microsoft visual studio\vc98\include\xtree(199) : warning C4503: 'rbegin' : decorated name length exceeded, name was truncated c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree,class std::allocator >,struct std::pair,class std::allocator > const ,class std::list,class std::allocator >,class std::allocator,class std::allocator > > > >,struct std::map,class std::allocator >,class std::list,class std::allocato r >,class std::allocator,class std::allocator > > >,struct std::less,class std::allocator > >,class std::allocato r,class std::allocator >,class std::allocator,class std::allocator > > > > >::_Kfn,struct std::less,class std::allocator > >,class std::allocator,class std::allocator >,class std::allocator,class std::allocator > > > > >' being compiled c:\dev\c++\billing\taxreport\abscommbuffer.h(113) : see reference to class template instantiation 'std::map,class std::allocator >,class std::list,class std::allocator >,class
C++ exception handling was used but /EHsc was not selected. When the /EHsc option has not been enabled, an object with automatic storage in the frame, between the function doing the throw and the function catching the throw, will not be destroyed. However, an object with automatic storage created in a try or catch block will be destroyed.
-
C++ exception handling was used but /EHsc was not selected. When the /EHsc option has not been enabled, an object with automatic storage in the frame, between the function doing the throw and the function catching the throw, will not be destroyed. However, an object with automatic storage created in a try or catch block will be destroyed.
-
C++ exception handling was used but /EHsc was not selected. When the /EHsc option has not been enabled, an object with automatic storage in the frame, between the function doing the throw and the function catching the throw, will not be destroyed. However, an object with automatic storage created in a try or catch block will be destroyed.
beffekt deivsec wrote: C++ exception handling was used but /EHsc was not selected. That's C4530, not C4503... -- jlr http://jlamas.blogspot.com/[^]