]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Silence Clang #include_next error
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 16 Dec 2024 21:56:53 +0000 (05:56 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Dec 2024 17:22:48 +0000 (01:22 +0800)
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>
Reviewed-by: Sam James <sam@gentoo.org>
sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c
sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c
sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c

index c7ca36ece2b6a0e8bb6b58732c9460b02a845628..d030d090d1736e62d35d27022de08ff77fe476ec 100644 (file)
@@ -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>
 
index 4f89ccb3bc2ee474509a23e1c7b87afd7c42abb4..aa5c8822617023c5870d166502742bb870f12e64 100644 (file)
@@ -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>
 
index 6c1828678ba6f7f27ec3417b2a65b94c6645351c..9478349fe6ba12f838bc283c7bf5ff296b98e2a1 100644 (file)
@@ -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>
 
index 241857b15c76b56fa5254844a869fcfb6ff21606..da17bcced26c2709f045ac5ce37d88edf3d6a189 100644 (file)
@@ -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>
 
index 043830b20a51edfb4e05cde512ac9b9d8bfee305..a6ef2b4896a15f7e2d73cefb209a74a0f15d3ce0 100644 (file)
@@ -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>
 
index e71faebcc1e7a1d3ba14dd5f53c78d709c613009..7fd1ef01e34a6262866c3a21dfd22decc41a5f90 100644 (file)
@@ -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>