From 4c26e846d37a0f53d6004f8a5db74389528e411c Mon Sep 17 00:00:00 2001 From: Yaya-Cout Date: Sun, 29 Dec 2024 11:48:18 +0100 Subject: [PATCH] Fix some spammy warnings --- ion/src/device/shared/regs/syscfg.h | 2 +- libaxx/include/external/libcxx/include/__config | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ion/src/device/shared/regs/syscfg.h b/ion/src/device/shared/regs/syscfg.h index e044a65f6..7423b88f4 100644 --- a/ion/src/device/shared/regs/syscfg.h +++ b/ion/src/device/shared/regs/syscfg.h @@ -2,7 +2,7 @@ #define REGS_SYSCFG_H #include "register.h" -#include +// #include #include "gpio.h" #define REGS_SYSCFG_CONFIG_F412 1 diff --git a/libaxx/include/external/libcxx/include/__config b/libaxx/include/external/libcxx/include/__config index dce88939f..96b903c79 100644 --- a/libaxx/include/external/libcxx/include/__config +++ b/libaxx/include/external/libcxx/include/__config @@ -8,7 +8,9 @@ #define _LIBCPP_CONSTEXPR_AFTER_CXX11 #define _LIBCPP_CONSTEXPR_AFTER_CXX14 #define _LIBCPP_CONSTEXPR constexpr +#ifndef __has_feature #define __has_feature(__x) 0 +#endif #define _LIBCPP_NO_CFI #define _NOEXCEPT noexcept #define _NOEXCEPT_(x) noexcept(x)