What does this do?

#pragma warning( disable : 4786 4503)


thanks
-Paul
PMH4514Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
brettmjohnsonConnect With a Mentor Commented:
It tells the compiler to ignore (not display) warnings with ID 4786, and 4503.

0
 
jkrCommented:
It disables the compiler warnings

4786 'identifier' : identifier was truncated to 'number' characters in the debug information

4503 'identifier' : decorated name length exceeded, name was truncated

which is useful when compiling templates, since the symbol names usually become quite lengthy.
0
 
PMH4514Author Commented:
oh.. well that makes sense.. you both are right.
0
 
jkrCommented:
Thanks. I am glad the explanation helped.
0
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.

All Courses

From novice to tech pro — start learning today.