[Bug 16126] New: [PATH] - make menuconfig fail if use gcc-14

bugzilla at busybox.net bugzilla at busybox.net
Mon Jul 15 07:13:54 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16126

            Bug ID: 16126
           Summary: [PATH] - make menuconfig fail if use gcc-14
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: myd.xia at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 9763
  --> https://bugs.busybox.net/attachment.cgi?id=9763&action=edit
The attached patch adding the missing int return type.

If use gcc-14, make menuconfig will report following error: 

 *** Unable to find the ncurses libraries or the                                
 *** required header files.                                                     
 *** 'make menuconfig' requires the ncurses libraries.                          
 ***                                                                            
 *** Install ncurses (ncurses-devel) and try again.                             
 ***              

The compiler error message is
  "<stdin>:2:1: error: return type defaults to ‘int’ [-Wimplicit-int]"

The reason is gcc-14 default enable -Werror=implicit-int, see
https://gcc.gnu.org/gcc-14/porting_to.html.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list