On 09/09/2011 09:45 PM, Stephan Bergmann wrote:
On 09/07/2011 02:56 PM, Bjoern Michaelsen wrote:
sal/inc/sal/types.h | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
New commits:
commit de290e726ed2aa5a4c007d61a7db1042c45d43db
Author: Bjoern Michaelsen<bjoern.michael...@canonical.com>
Date: Wed Sep 7 12:37:08 2011 +0200
introduce SAL_DEPRECATED macro
Is it true that __declspec must go before the return type for MSC (i.e.,
that the return type must go within the SAL_DEPRECATED argument)? Then,
SAL_DEPRECATED suffers from the multiple-argument template return type
unpleasantness described at
<http://stackoverflow.com/questions/295120/c-mark-as-deprecated/295229#295229>.
:(
It turns out SAL_DEPRECATED can be simplified after all, see
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=d88bceafa0227e0e7bfe6bad1221eb93d3a9619a>.
-Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice