Robert Marko
eede9b1bc4
tools/coreutils: fix compilation on macOS 14
Current coreutils 8.32 in 22.03 will fail to compile when using macOS 14 with:
depbase=`echo lib/obstack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -I. -I./lib -Ilib -I./lib -Isrc -I./src -I/Volumes/OpenWrt/openwrt/staging_dir/host/include -O2 -I/Volumes/OpenWrt/openwrt/staging_dir/host/include -MT lib/obstack.o -MD -MP -MF $depbase.Tpo -c -o lib/obstack.o lib/obstack.c &&\
mv -f $depbase.Tpo $depbase.Po
lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
^
1 error generated.
Backporting gnulib commit ("obstack: Fix a clang warning") fixes this.
Fixes: #15270
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-27 15:14:06 +02:00
..
2016-12-16 22:39:22 +01:00
2021-09-20 15:21:17 +02:00
2019-11-06 00:21:15 +01:00
2019-07-26 08:09:16 +02:00
2022-01-27 13:38:48 +01:00
2022-02-24 15:36:28 +01:00
2023-09-27 17:30:45 +02:00
2020-11-24 15:39:07 +01:00
2020-11-24 15:39:07 +01:00
2023-04-27 21:02:10 +02:00
2023-11-21 00:38:36 +01:00
2024-04-27 15:14:06 +02:00
2024-04-27 15:14:06 +02:00
2023-01-16 23:58:16 +01:00
2022-12-06 23:29:14 +01:00
2016-12-16 22:39:22 +01:00
2023-11-21 00:38:36 +01:00
2022-03-13 19:24:13 +01:00
2022-03-01 00:08:08 +01:00
2023-03-24 16:04:38 +01:00
2018-11-25 19:23:03 +01:00
2020-07-23 11:30:22 +02:00
2016-12-16 22:39:22 +01:00
2019-07-08 16:42:26 +02:00
2023-09-27 17:30:45 +02:00
2020-03-14 13:20:06 +00:00
2021-10-21 20:37:20 +01:00
2018-07-12 18:15:33 +02:00
2022-06-25 00:05:21 +02:00
2021-09-23 13:39:11 +02:00
2023-09-27 17:30:45 +02:00
2021-02-05 12:00:24 -10:00
2021-02-05 12:00:24 -10:00
2021-09-20 15:21:17 +02:00
2020-01-05 20:04:37 +01:00
2022-10-03 19:51:50 +02:00
2020-09-17 12:46:19 +02:00
2023-01-22 01:35:16 +01:00
2022-03-01 00:08:08 +01:00
2020-11-21 18:49:27 +01:00
2020-08-23 19:40:32 +02:00
2023-09-27 17:30:45 +02:00
2022-04-15 14:12:18 +01:00
2021-06-12 14:33:57 +02:00
2020-07-23 10:54:33 +02:00
2022-11-27 15:43:08 +01:00
2020-09-02 16:29:22 +02:00
2021-02-15 07:12:51 +01:00
2022-08-14 00:29:20 +02:00
2022-02-25 14:12:39 +01:00
2018-12-16 14:03:35 +01:00
2024-04-27 15:14:06 +02:00
2021-09-20 15:21:17 +02:00
2020-05-24 14:38:40 +02:00
2021-06-20 18:59:36 -10:00
2021-09-20 15:21:17 +02:00
2021-09-05 21:26:48 +02:00
2020-04-09 22:09:13 +02:00
2023-09-27 17:30:45 +02:00
2023-11-21 00:38:36 +01:00
2022-03-01 00:08:08 +01:00
2023-11-21 00:38:36 +01:00