STL warning messages
From: flipdog (john.lai_at_worldnet.att.net)
Date: 05/29/04
- Next message: Craig Bumpstead: "Creating an Array of Strings in C , Sorry if multiple posts"
- Previous message: Elias Fotinis: "Re: A newbie question"
- Next in thread: Mike Wahler: "Re: STL warning messages"
- Reply: Mike Wahler: "Re: STL warning messages"
- Reply: Leor Zolman: "Re: STL warning messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 21:04:44 GMT
Hello all,
When I compile STL program (my program requires me to include the header
"string"), the compiler generates a truck load of identical warning messages
as follows:
warning C4786:
'std::deque<std::basic_string<char,std::char_traits<char>,std::allocator<cha
r>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
r<char> >
>>::deque<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocato
r<char> > > >' : identifier was truncated to '255' characters in the debug
information
To get rid of it, I tried to use
#pragma warning(disable:4786)
right after the include headers at the beginning. It still doesn't work.
Is there something else I can do to get rid of these messages.
I am using MSVC. Will these warnings also generated by other compilers as
well?
Thanks,
FD
- Next message: Craig Bumpstead: "Creating an Array of Strings in C , Sorry if multiple posts"
- Previous message: Elias Fotinis: "Re: A newbie question"
- Next in thread: Mike Wahler: "Re: STL warning messages"
- Reply: Mike Wahler: "Re: STL warning messages"
- Reply: Leor Zolman: "Re: STL warning messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|