search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   changes in xutility and xmemory from vc7 to vc8

1/9/2006 2:32:02 PM    @deprecated in C++: anything better than #pragma message( "Warning
I'm going to use  
  
for now.  
  
If you have any better ideas, please speak out.  
  
P.S. E.g., could #pragma warning be used in a way that forces the coder to  
  
change warning level before they are able to build code that links to the  
  
function? How could i look up which warnings are on which level? Is it  
  
possible to force a warning instead of message?

1/9/2006 5:41:09 PM    Re: @deprecated in C++: anything better than #pragma message( "Warning
ultranet <ultranet@discussions.microsoft.com> wrote:  
  
See #pragma deprecated, __declspec(deprecated).  
  
--  
  
With best wishes,  
  
Igor Tandetnik  
  
With sufficient thrust, pigs fly just fine. However, this is not  
  
necessarily a good idea. It is hard to be sure where they are going to  
  
land, and it could be dangerous sitting under them as they fly  
  
overhead. -- RFC 1925

1/10/2006 9:29:55 AM    Re: @deprecated in C++: anything better than #pragma message( "War
ultranet wrote:  
  
[...]  
  
Please, for the sake of your users never use #pragma warning( default:...),  
  
always use the push and pop functions provided for that.  
  
Else, I recently used this:  
  
// not supported before MSC12 (VC6/eVC4)  
  
BOOL MYLIB_DEPRECATED myfunction(double);  
  
Uli


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.