xml-xalan-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandr Vinokurov <aleksandr....@gmail.com>
Subject Deprecated code -- why not to mark it?
Date Wed, 24 Mar 2010 10:21:56 GMT
Hello guys!

I'm moving my company's code from Xalan-c 1.10 to 1.11 (yes, I know it is
still in trunk but I'm forced to do this).

Despite of the lack of the migration document (maybe it will appear at
release) I noticed that deprecated code is marked only in javadoc but not in
code as with for ex.:

#ifndef DEPRECATED

#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__==3 &&
__GNUC_MINOR__>=1))

#define DEPRECATED __attribute__((deprecated))

#elif defined(_MSC_VER) && _MSC_VER >= 1300

#define DEPRECATED __declspec(deprecated)

#else

#define DEPRECATED

#endif

#endif


I found it in
http://subversion.apache.org/docs/api/1.6/svn__types_8h-source.html

Please suggest it for release.


Aleksandr

Mime
View raw message