[Libreoffice-commits] .: sal/inc

Tor Lillqvist tml at kemper.freedesktop.org
Thu Apr 12 23:27:54 PDT 2012


 sal/inc/osl/diagnose.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit dc4aec872426d95033610c9e6b6579387e5e6423
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Apr 13 09:25:03 2012 +0300

    WaE: unknown warning group '-Wreturn-type-c-linkage'

diff --git a/sal/inc/osl/diagnose.hxx b/sal/inc/osl/diagnose.hxx
index 95f5093..6463d8d 100644
--- a/sal/inc/osl/diagnose.hxx
+++ b/sal/inc/osl/diagnose.hxx
@@ -75,6 +75,9 @@ SAL_DLLPUBLIC void SAL_CALL osl_detail_ObjectRegistry_revokeObject(
 #if SUPD < 400
 #ifdef __clang__
 #pragma clang diagnostic push
+// Guard against slightly older clang versions that don't have
+// -Wreturn-type-c-linkage...
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
 #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
 #endif
 #endif


More information about the Libreoffice-commits mailing list