|
-
October 31st, 2001, 03:02 AM
#1
#pragma warning (disable : 4786)
I use list and set templates in my SDI MFC APP. well, I have no problems with them, but always when I rebuild the whole project I get 40 warnings!
I tried to disable them by using:
#pragma warning (disable : 4786)
but I still get some warnings. question: where exactly do I have to place this? in *.cpp or *.h files? do I have to care about a special position to place it? is my pragma wrong?
example of a warning:
c:\program files\microsoft visual studio\vc98\include\xtree(160) : warning C4786: 'std::_Tree<CScene3DS *,CScene3DS *,std::set<CScene3DS *,std::less<CScene3DS *>,std::allocator<CScene3DS *> >::_Kfn,std::less<CScene3DS *>,std::allocator<CScene3DS *>
>::_Tree<CScene3DS *,CScene3DS *,std::set<CScene3DS *,std::less<CScene3DS *>,std::allocator<CScene3DS *> >::_Kfn,std::less<CScene3DS *>,std::allocator<CScene3DS *> >' : identifier was truncated to '255' characters in the debug information
thanks a lot in advance!
Yannick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|