Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / pch / inc / clangfix.hxx
blob7280032baa1c15aa4cdb94ef604463810c67ea9f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifdef __clang__
11 // This is a bit lame, but when using -DMACRO that wasn't present when the PCH was built,
12 // Clang suddenly subjects it to the -Wunused-macros check, which isn't the case otherwise.
13 // And many of these macros are not actually used. So use them here to silence the warnings.
14 // See gb_PrecompiledHeader_ignore_flags_system in solenv/gbuild/PrecompiledHeaders.mk .
16 #ifdef FASTSAX_DLLIMPLEMENTATION
17 #endif
18 #ifdef SAX_DLLIMPLEMENTATION
19 #endif
20 #ifdef SCQAHELPER_DLLIMPLEMENTATION
21 #endif
22 #ifdef SYSTEM_EXPAT
23 #endif
24 #ifdef SYSTEM_LIBXML
25 #endif
26 #ifdef SYSTEM_ZLIB
27 #endif
29 #endif // __clang__
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */