Avoid potential negative array index access to cached text.
[LibreOffice.git] / pch / inc / clangfix.hxx
blob1a3393b641297559f94958f7728cd2b96feca0c1
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 SAX_DLLIMPLEMENTATION
17 #endif
18 #ifdef SCQAHELPER_DLLIMPLEMENTATION
19 #endif
20 #ifdef SYSTEM_EXPAT
21 #endif
22 #ifdef SYSTEM_LIBXML
23 #endif
24 #ifdef SYSTEM_ZLIB
25 #endif
27 #endif // __clang__
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */