mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-22 18:27:13 +00:00
d3d3506ad9
GCC 14 promotes -Wincompatible-pointer-types to an error by default. The buffer_init*.c sources pass read()/write() directly where a typeless op function pointer is expected: buffer/buffer_init_read.c:6:18: error: passing argument 2 of 'buffer_init' from incompatible pointer type [-Wincompatible-pointer-types] The existing gcc-15 patch only fixes the BUFFER_INIT macro, not these call sites. Add -Wno-error=incompatible-pointer-types so the build completes. Signed-off-by: Khem Raj <raj.khem@gmail.com>