Debug error?

I enabled debugging in my program, yet I get this error:

C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxcmn.inl(589) : warning C4786: 'std::_Tree<HWND__ *,std::pair<HWND__ * const,CMsgHandler::tagWndHandlers>,std::map<HWND__ *,CMsgHandler::tagWndHandlers,std::less<HWND__ *>,std::allocator<CM
sgHandler::tagWndHandlers> >::_Kfn,std::less<HWND__ *>,std::allocator<CMsgHandler::tagWndHandlers> >' : identifier was truncated to '255' characters in the debug information


Whats up with that?
Nitro187Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bistricaCommented:
It is warning, not error and the reason is (from MSDN):

The debugger cannot debug code with symbols longer than 255 characters. In the debugger, you cannot view, evaluate, update, or watch the truncated symbols.

This limitation can be overcome by shortening identifier names.  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fl0ydCommented:
or, by upgrading to vs.net which doesn't have this limitation anymore. Anyway, it is an error message that does _not_ jeopardize program execution. Only debugging will be limited as described by bistrica.

To help you save points in the future you can always do the following: place the cursor over the warning/error number (C4786 in this case) and press F1.

.f
0
Nitro187Author Commented:
Awesome, thanks, found the error. :)
0
fl0ydCommented:
Again, it's _not_ an error! In contrast to error messages, warnings do not stop the compiler from creating an executable.

.f
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.