summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-13 09:25:03 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-13 09:27:13 +0300
commitdc4aec872426d95033610c9e6b6579387e5e6423 (patch)
treeaa24c3de38e5eb04c16ffd2172ffa8b2eafbdddb /sal
parent9f77876a96911a7138aa2081077a03abd34a9cf4 (diff)
WaE: unknown warning group '-Wreturn-type-c-linkage'
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/diagnose.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/inc/osl/diagnose.hxx b/sal/inc/osl/diagnose.hxx
index 95f509338734..6463d8dcca5d 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