/* === This file is part of Calamares - === * * SPDX-FileCopyrightText: 2020 Adriaan de Groot * SPDX-License-Identifier: GPL-3.0-or-later * * Calamares is Free Software: see the License-Identifier above. * */ /* * KPMCore header file inclusion. * * Includes the system KPMCore headers without warnings (by switching off * the expected warnings). */ #ifndef PARTITION_KPMHELPER_H #define PARTITION_KPMHELPER_H #include // The kpmcore headers are not C++17 warning-proof, especially // with picky compilers like Clang 10. Since we use Clang for the // find-all-the-warnings case, switch those warnings off for // the we-can't-change-them system headers. QT_WARNING_PUSH QT_WARNING_DISABLE_CLANG( "-Wdocumentation" ) QT_WARNING_DISABLE_CLANG( "-Wsuggest-destructor-override" ) QT_WARNING_DISABLE_CLANG( "-Winconsistent-missing-destructor-override" ) // Because of __lastType QT_WARNING_DISABLE_CLANG( "-Wreserved-identifier" ) #include #include #include #include #include #include #include #include QT_WARNING_POP #endif