Solved

What does this do?

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


thanks
-Paul
0
Comment
Question by:PMH4514
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: 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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

632 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