Solved

What does this do?

Posted on 2004-09-13
4
200 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
Comment Utility
It tells the compiler to ignore (not display) warnings with ID 4786, and 4503.

0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
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
Comment Utility
oh.. well that makes sense.. you both are right.
0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
Thanks. I am glad the explanation helped.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now