Solved

What does this do?

Posted on 2004-09-13
4
206 Views
Last Modified: 2010-04-01
#pragma warning( disable : 4786 4503)


thanks
-Paul
0
Comment
Question by:PMH4514
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 50 total points
ID: 12047659
It tells the compiler to ignore (not display) warnings with ID 4786, and 4503.

0
 
LVL 86

Expert Comment

by:jkr
ID: 12047662
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
 

Author Comment

by:PMH4514
ID: 12047709
oh.. well that makes sense.. you both are right.
0
 
LVL 86

Expert Comment

by:jkr
ID: 12048614
Thanks. I am glad the explanation helped.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question