Counter-productive UNUSED macro in connectivity/source/drivers/postgresql

Caolán McNamara caolanm at redhat.com
Thu Feb 9 01:20:39 PST 2012


On Thu, 2012-02-09 at 10:04 +0200, Tor Lillqvist wrote:
> Sure, it silences warnings from gcc. But MSVC still warns. We do want
> to eventually be warning-free with MSVC, too, don't we? Don't we
> already have a convention how to handle unused parameters in C++ code,
> i.e. comment their name out?

Yeah, see commentary around SAL_UNUSED_PARAMETER in sal/inc/sal/types.h,
can replace it with that if necessary.

C.



More information about the LibreOffice mailing list