From 55a331f31666f5db6b7f31b1354566f950239ee8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Gorszkowski Date: Wed, 14 Jan 2026 07:59:43 +0100 Subject: [PATCH] [gcc14] menuconfig fix With this fix menuconfig can be opened when your system uses gcc14. --- support/kconfig/lxdialog/check-lxdialog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/kconfig/lxdialog/check-lxdialog.sh b/support/kconfig/lxdialog/check-lxdialog.sh index 16cd9a31862b..8807569b9682 100755 --- a/support/kconfig/lxdialog/check-lxdialog.sh +++ b/support/kconfig/lxdialog/check-lxdialog.sh @@ -48,7 +48,7 @@ trap "rm -f $tmp" 0 1 2 3 15 check() { $cc -x c - -o $tmp 2>/dev/null <<'EOF' #include CURSES_LOC -main() {} +int main(void) { return 0; } EOF if [ $? != 0 ]; then echo " *** Unable to find the ncurses libraries or the" 1>&2