mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-09 02:51:31 -06:00
Clans: clang compiler fix-ups
Signed-off-by: zeph <zephyrzefa15@gmail.com>
This commit is contained in:
parent
fee3dff037
commit
b2195bd6ff
@ -1,8 +1,21 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include <util/types.hpp>
|
||||
|
||||
// wolfssl uses old-style casts which break clang builds
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wold-style-cast"
|
||||
#pragma clang diagnostic ignored "-Wextern-c-compat"
|
||||
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/coding.h>
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <Crypto/utils.h>
|
||||
#include <Utilities/StrUtil.h>
|
||||
#include <Utilities/StrFmt.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user