mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
4a6911fe79
Current sed 4.8 in 22.03 will fail to compile when using macOS 14 with: depbase=`echo lib/obstack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I. -I./lib -I./lib -I./sed -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. make[5]: *** [Makefile:2781: lib/obstack.o] Error 1 Backporting gnulib commit ("obstack: Fix a clang warning") fixes this. Fixes: #15270 Signed-off-by: Robert Marko <robimarko@gmail.com> |
||
---|---|---|
.. | ||
patches | ||
Makefile |