[libc-commits] [libc] [libc] Ignore -Winclude-next-absolute-path warning in float-macros.h (PR #83513)

via libc-commits libc-commits at lists.llvm.org
Thu Feb 29 17:23:17 PST 2024


https://github.com/lntue created https://github.com/llvm/llvm-project/pull/83513

None

>From 8553350d8ece29d4b0dda09810eef6b88cb3c252 Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue.h at gmail.com>
Date: Fri, 1 Mar 2024 01:21:35 +0000
Subject: [PATCH] [libc] Ignore -Winclude-next-absolute-path warning in
 float-macros.h

---
 libc/include/llvm-libc-macros/float-macros.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/include/llvm-libc-macros/float-macros.h b/libc/include/llvm-libc-macros/float-macros.h
index a51eab0c7ed2f3..4fe8590c5f70c8 100644
--- a/libc/include/llvm-libc-macros/float-macros.h
+++ b/libc/include/llvm-libc-macros/float-macros.h
@@ -13,6 +13,7 @@
 #ifdef __clang__
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wgnu-include-next"
+#pragma clang diagnostic ignored "-Winclude-next-absolute-path"
 #else // gcc
 #pragma GCC system_header
 #endif //__clang__



More information about the libc-commits mailing list