pcsx2/pcsx2-qt/PrecompiledHeader.h

24 lines
842 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
2021-12-13 12:12:54 +00:00
#include "pcsx2/PrecompiledHeader.h"
// Needed because of moc shenanigans with pch.
#include <memory>
2022-12-25 08:20:28 +00:00
// Silence these warnings in the PCH, that way it happens before any of our headers are included.
// warning : variable 's_hrErrorLast' set but not used [-Wunused-but-set-variable]
#if defined(_WIN32) && defined(__clang__)
#pragma clang diagnostic push
// warning : known but unsupported action 'shared' for '#pragma section' - ignored [-Wignored-pragmas]
#pragma clang diagnostic ignored "-Wignored-pragmas"
// warning : dynamic_cast will not work since RTTI data is disabled by /GR- [-Wrtti]
#pragma clang diagnostic ignored "-Wrtti"
#endif
#include <QtCore/QtCore>
#if defined(_WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif