]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: use '-std=gnu11' to fix build errors with gcc-15
authorZorro Lang <zlang@kernel.org>
Mon, 10 Feb 2025 16:57:15 +0000 (00:57 +0800)
committerZorro Lang <zlang@kernel.org>
Sun, 23 Feb 2025 12:31:45 +0000 (20:31 +0800)
commit77aab5c2bfc9135fde66c17286ca4be87b417f39
treee542da57d8c1796f33cd5c864a95710185b9da22
parent5b56a2d888191bfc7131b096e611eab1881d8422
fstests: use '-std=gnu11' to fix build errors with gcc-15

GCC-15 does a big change, it changes the default C compilation
language standard to -std=gnu23. That cause lots of "old style"
C codes hit building errors. On the other word, current xfstests
can't be used with GCC-15. So use a fixed language standard --
"-std=gnu11" (to match the kernel and xfsprogs).

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
include/builddefs.in