Warning C4786

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Gratch06
Posts: 141
Joined: 2003-05-25 06:48
Location: USA

Warning C4786

Post by Gratch06 » 2003-05-27 06:06

will the folowing warnings actually affect everything?


warning C4786: '_STL::unary_function<_STL::pair<_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > const ,_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > >,_STL::basic_string<char,_STL::char_traits<char>,
_STL::allocator<char> > const >' : identifier was truncated to '255' characters in the debug information


About 10 of these appear upon compile (during Generating Code stage). Thanks for any help on this one :)

- Gratch

redlight
Posts: 5
Joined: 2003-05-27 06:24

Post by redlight » 2003-05-27 06:30

No, it won't affect the compiled program. It is a bug in vs6. If you would like to supress it, you can use

Code: Select all

#pragma warning(disable:4786)

Gratch06
Posts: 141
Joined: 2003-05-25 06:48
Location: USA

Post by Gratch06 » 2003-05-27 07:55

Thanks for the speedy response!

- Gratch

Who is online

Users browsing this forum: Google [Bot] and 0 guests