AK: Disable -Wunqualified-std-cast-call explicitly in CMake

When importing libraries with swiftc, the pragma to ignore this
warning isn't respected. So apply it on the command line.
This commit is contained in:
Andrew Kaster 2024-08-04 17:10:27 -06:00
commit 15f25d56b8
Notes: github-actions[bot] 2024-08-07 00:29:23 +00:00
2 changed files with 4 additions and 8 deletions

View file

@ -6,15 +6,9 @@
#pragma once
#include <AK/Platform.h>
#if defined(AK_COMPILER_CLANG)
# pragma clang diagnostic ignored "-Wunqualified-std-cast-call"
#endif
#include <AK/StdLibExtraDetails.h>
#include <AK/Assertions.h>
#include <AK/Platform.h>
#include <AK/StdLibExtraDetails.h>
#include <utility>