VC++ 6.0 disable warning C4786
Posted on 2005-04-15
I'm trying to disable a warning I'm getting when using STL and MFC template objects.
I have this code in my *.cpp file, and I've thrown #pragma all over it, and I'm still getting the warning.
CMap<int, int, CString, LPCTSTR> m_AcctMessList;
CMap<CString, LPCTSTR, int, int> m_SigMessList;
This is on a clients computer, and they keep they're VC++ header files on a server with READ-ONLY access, so I can't modify the VC++ include header files.
Isn't there a way to disable this from the Compiler option setting so it applies to all code compile for a specific project?
Or does anyone know of any other way to get rid of these warnings?
I want to do this WITHOUT lowering my compiler warning level.