Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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.michaelsen@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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.