Is there any way to make these warnings go away without using pragma?
This is just one example warning:
d:\\program files\\microsoft visual studio\\vc98\\include\\utility(26) : warning C4786:
'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,
std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::less<std::bas
ic_string<char,std::char_traits<char>,
std::allocator<char> > >,std::allocator<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > > >' : identifier was truncated to '255' characters in the debug information
d:\\program files\\microsoft visual studio\\vc98\\include\\xtree(2 : see reference to class template
instantiation 'std:air<std::basic_string<char,std::char_traits<char>,std::allocator<char> >
const ,CIniSection>' being compiled
d:\\program files\\microsoft visual studio\\vc98\\include\\map(46) : see reference to class template
instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std:air<std::basic_string<char,std::char_traits<
char>,std::allocator<char> >
const ,CIniSection>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,CIniSection,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,
std::allocator<CIniSection> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > >,std::allocator<CIniSection> >' being compiled
(Except without the smilies.)
The gist of it, if I understand correctly, is that the symbol name of a templated class is too frickin long to store in debug information.
It's just irritating. I'm tired of littering the code with warning disable pragmas and also of seeing these lengthy warning messages in the build output window.
-Erik
____________________________
The Godkiller - Chapter 1 available now on Steam. It's a DROD-like puzzle adventure game.
dev journals |
twitch stream |
youtube archive (NSFW)