   Warning 4786 question
  I''m using a map with a std::string. Due to the template typelist being so long, my debug info is being truncated...or so the error message said. So I inserted this pragma to mute it:#pragma warning (disable : 4786)(1) is there a way to fix this? Output longer debug info? or is it best just to mute it?(2) I dont think I can put the pragma in an include file, due to pragmas being for the file they are in...so do I really have to put the pragma in everyfile that includes my map? Its just annoying when everything is working fine when all the sudden 76 warnings popup, so I''d love if I could permanently mute the warning.Brian 
  1. Nope. It''s fixed in .NET, tho. It''s a fundamental compiler limitation.2. Sure ya can. I have (had, when I used VC6) that pragma in my project-wide include file (which is included by all headers and all source files), and it worked just fine. As long as it''s included before the STL includes, it''s all good. Such project-wide includes are VERY useful.   How appropriate. You fight like a cow. ;  Thanks Sneftel- I can always count on you for language-specific questions! ;-)   Brian JDL Vacuum - A media file organizer I made | Mumbling Miles - A band I was the guitarist/vocalist for ;  before you give up, trying putting the following lines in your code:using std::stringusing std::mapusing std::allocatorI remember adding those but I forgot if they fixed it or not . In either way, I DO remember it replacing std::string''s and std::map''s with string''s and map''s. By taking away the std:: part, it makes the code prettier   ---Brent Gunning | My Site;  You don''t want to put using declarations in your header files, because then they just nullify any point of namespaces should a conflict arise. ;  Yeah, I don't generally "use" a namespace outside the scope of a function...but he meant just in the file I'm pretty sure, which isn't that bad. But the issue here is that the STL builds on itself greatly with typelists, ie:std::less < std::basic_string< char,std::char_traits< char >,std::allocator< char > >... and on and on...if you read Modern C++ design you will also see heavy use of typelists...they're cool, but the names can get really long during compilation.  EDIT: HTML in my typelist...Brian JDL Vacuum - A media file organizer I made | Mumbling Miles - A band I was the guitarist/vocalist for [edited by - bjmumblingmiles on August 5, 2003 10:20:58 AM]