[PATCH] Silence Clang #include_next error
H.J. Lu
hjl.tools@gmail.com
Mon Dec 16 21:56:53 GMT 2024
Use "#include <...>" to silence Clang #include_next error:
In file included from ../sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c:19:
../sysdeps/x86_64/fpu/test-double-vlen4.h:19:2: error: #include_next in file found relative to primary source file or found by absolute path; will search from start of include path [-Werror,-Winclude-next-absolute-path]
19 | #include_next <test-double-vlen4.h>
| ^
1 error generated.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c | 2 +-
sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c | 2 +-
sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c | 2 +-
sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c | 2 +-
sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c | 2 +-
sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c b/sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c
index c7ca36ece2..d030d090d1 100644
--- a/sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-double-vlen4.h"
+#include <test-double-vlen4.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
diff --git a/sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c b/sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c
index 4f89ccb3bc..aa5c882261 100644
--- a/sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-double-vlen4.h"
+#include <test-double-vlen4.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
diff --git a/sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c b/sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c
index 6c1828678b..9478349fe6 100644
--- a/sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-double-vlen8.h"
+#include <test-double-vlen8.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
diff --git a/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c b/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
index 241857b15c..da17bcced2 100644
--- a/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-float-vlen16.h"
+#include <test-float-vlen16.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
diff --git a/sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c b/sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
index 043830b20a..a6ef2b4896 100644
--- a/sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-float-vlen8.h"
+#include <test-float-vlen8.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
diff --git a/sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c b/sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c
index e71faebcc1..7fd1ef01e3 100644
--- a/sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "test-float-vlen8.h"
+#include <test-float-vlen8.h>
#include "test-math-vector-sincos.h"
#include <immintrin.h>
--
2.47.1
More information about the Libc-alpha
mailing list