[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] Mark deprecated functions with SVN_DEPRECATED / __attribute__((deprecated))

From: eg <egoots_at_gmail.com>
Date: Wed, 20 Aug 2008 16:42:53 -0700

>> Does Microsoft Visual C define a definition which allows to
>> unequivocally
>> identify this compiler?
>> (GCC defines __GNUC__.)
> Microsoft Visual C uses _MSC_VER to declare its use and its version.
> __declspec(deprecated) was introduced in VC.Net 2002 (_MSC_VER = 1300)
> The _MSC_VER numbering started in the MSDOS versions.
> VC++ 1.0 for Windows 3.1 used version 800 if I remember correctly. I do
> remember you had to install twenty-one 3.5" disks ;-)

For completeness... if you ever want or need further granularity on MS
compiler versions, recent compiler versions have defined _MSC_FULL_VER

The best description I have seen regarding these macros (their uses,
differences, and why's), is in the following blog entry:


You might want to read it for a chuckle (you think they would have
figured this stuff out after 20 years).

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-21 05:22:30 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.