[*] Shutup clangbang

This commit is contained in:
Reece Wilson 2023-08-30 01:28:05 +01:00
parent b7f409aa77
commit 46850c9122
3 changed files with 18 additions and 0 deletions

View File

@ -11,6 +11,12 @@
#include "AsyncApp.hpp"
#include "Schedular.hpp"
#if defined(AURORA_COMPILER_CLANG)
// warning: enumeration values 'kEnumCount' not handled in switch [-Wswitch
#pragma clang diagnostic ignored "-Wswitch"
// Yea, I don't give a shit.
#endif
namespace Aurora::Async
{
FuncWorker::FuncWorker(IThreadPoolInternal *owner,

View File

@ -31,6 +31,12 @@
#include "AuProcessMap.hpp"
#if defined(AURORA_COMPILER_CLANG)
// warning: enumeration values 'kEnumCount' and 'kEnumInvalid' not handled in switch [-Wswitch
#pragma clang diagnostic ignored "-Wswitch"
// Yea, I don't give a shit.
#endif
namespace Aurora::Process
{
static AuThreadPrimitives::SpinLock gSpinLock;

View File

@ -18,6 +18,12 @@
#include <Source/Threading/Primitives/AuSemaphore.Unix.hpp>
#if defined(AURORA_COMPILER_CLANG)
// warning: enumeration values 'kEnumCount' and 'kEnumInvalid' not handled in switch [-Wswitch
#pragma clang diagnostic ignored "-Wswitch"
// Yea, I don't give a shit.
#endif
#if defined(AURORA_IS_LINUX_DERIVED)
#include <sys/prctl.h>
#include <setjmp.h>