[ARM64] Suppress tomlcpusplus compile warnings

This commit is contained in:
Herman S.
2026-03-15 21:43:30 +09:00
parent fb6a67748f
commit b04cc23670
4 changed files with 28 additions and 0 deletions

View File

@@ -11,7 +11,14 @@
#include "third_party/imgui/imgui.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"
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#include "xenia/base/assert.h"
#include "xenia/base/clock.h"
#include "xenia/base/cvar.h"

View File

@@ -11,7 +11,14 @@
#define XENIA_CONFIG_H_
#include <filesystem>
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wabsolute-value"
#endif
#include "third_party/tomlplusplus/toml.hpp"
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
toml::parse_result ParseFile(const std::filesystem::path& filename);

View File

@@ -15,7 +15,14 @@
#include <optional>
#include <regex>
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wabsolute-value"
#endif
#include "third_party/tomlplusplus/toml.hpp"
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
namespace xe {
namespace patcher {

View File

@@ -10,7 +10,14 @@
#ifndef 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"
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#include "xenia/kernel/kernel_state.h"
#include "xenia/memory.h"