summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-19 12:24:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-19 22:17:33 +0100
commit4f0a97a81dc9aa93dd6579590110a1ea71154351 (patch)
tree33de617704daff61f19036f9b7e1fc3285bbeca2 /include/osl
parent9663341f9249c739219ffe6cccf3762aa8dd78f3 (diff)
Clang 3.5 has -Wreturn-type-c-linkage
Change-Id: I9d4b8aef3877f46c537937f7cb04c7654f057fa2 Reviewed-on: https://gerrit.libreoffice.org/46789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/diagnose.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/osl/diagnose.hxx b/include/osl/diagnose.hxx
index 0dc140faef83..7cd0c106a584 100644
--- a/include/osl/diagnose.hxx
+++ b/include/osl/diagnose.hxx
@@ -65,9 +65,6 @@ SAL_DLLPUBLIC void SAL_CALL osl_detail_ObjectRegistry_revokeObject(
// that would break binary compatibility.
#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