[ARM64] Suppress tomlcpusplus compile warnings
This commit is contained in:
@@ -11,7 +11,14 @@
|
|||||||
|
|
||||||
#include "third_party/imgui/imgui.h"
|
#include "third_party/imgui/imgui.h"
|
||||||
#include "third_party/stb/stb_image_write.h"
|
#include "third_party/stb/stb_image_write.h"
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wabsolute-value"
|
||||||
|
#endif
|
||||||
#include "third_party/tomlplusplus/toml.hpp"
|
#include "third_party/tomlplusplus/toml.hpp"
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
#include "xenia/base/assert.h"
|
#include "xenia/base/assert.h"
|
||||||
#include "xenia/base/clock.h"
|
#include "xenia/base/clock.h"
|
||||||
#include "xenia/base/cvar.h"
|
#include "xenia/base/cvar.h"
|
||||||
|
|||||||
@@ -11,7 +11,14 @@
|
|||||||
#define XENIA_CONFIG_H_
|
#define XENIA_CONFIG_H_
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wabsolute-value"
|
||||||
|
#endif
|
||||||
#include "third_party/tomlplusplus/toml.hpp"
|
#include "third_party/tomlplusplus/toml.hpp"
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
toml::parse_result ParseFile(const std::filesystem::path& filename);
|
toml::parse_result ParseFile(const std::filesystem::path& filename);
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,14 @@
|
|||||||
#include <optional>
|
#include <optional>
|
||||||
#include <regex>
|
#include <regex>
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wabsolute-value"
|
||||||
|
#endif
|
||||||
#include "third_party/tomlplusplus/toml.hpp"
|
#include "third_party/tomlplusplus/toml.hpp"
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
namespace patcher {
|
namespace patcher {
|
||||||
|
|||||||
@@ -10,7 +10,14 @@
|
|||||||
#ifndef XENIA_PLUGIN_LOADER_H_
|
#ifndef XENIA_PLUGIN_LOADER_H_
|
||||||
#define XENIA_PLUGIN_LOADER_H_
|
#define XENIA_PLUGIN_LOADER_H_
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wabsolute-value"
|
||||||
|
#endif
|
||||||
#include "third_party/tomlplusplus/toml.hpp"
|
#include "third_party/tomlplusplus/toml.hpp"
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
#include "xenia/kernel/kernel_state.h"
|
#include "xenia/kernel/kernel_state.h"
|
||||||
#include "xenia/memory.h"
|
#include "xenia/memory.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user