[Libreoffice] [Libreoffice-commits] .: sal/inc

Stephan Bergmann sbergman at redhat.com
Fri Sep 9 12:45:47 PDT 2011


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.michaelsen at 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>. 
  :(

-Stephan


More information about the LibreOffice mailing list