| commit | 49fd04d77b3244c6c6990be41142168eef373aef | [log] [tgz] |
|---|---|---|
| author | Rudi Heitbaum <rudi@heitbaum.com> | Fri Nov 22 12:36:32 2024 +0000 |
| committer | Theodore Ts'o <tytso@mit.edu> | Thu Nov 28 13:12:35 2024 -0500 |
| tree | 507eb13e99b025d9100b197bdedb452ddf2cfc1d | |
| parent | 704062323ba96d8c9c21adb812b8e5dae3dc1be3 [diff] |
libext2fs: fix -std=c23 build failure
gcc-15 switched to -std=c23 by default:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
As a result `e2fsprogs` fails the build so only typedef int bool
for __STDC_VERSION__ <= 201710L (C17)
../../../lib/ext2fs/tdb.c:113:13: error: two or more data types in declaration specifiers
../../../lib/ext2fs/tdb.c:113:1: warning: useless type name in empty declaration
113 | typedef int bool;
| ^~~~~~~
https://github.com/tytso/e2fsprogs/issues/202
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Link: https://lore.kernel.org/r/Z0B60JhdvT9bpSQ6@6f91903e89da
Signed-off-by: Theodore Ts'o <tytso@mit.edu>