Changes between Version 2 and Version 3 of gcc14-todo


Ignore:
Timestamp:
02/03/2024 09:34:29 PM (4 months ago)
Author:
Xi Ruoyao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gcc14-todo

    v2 v3  
    3535- https://github.com/zsh-users/zsh/commit/ab4d62eb975a4c4c51dd35822665050e2ddc6918
    3636
    37 Configure script wrongly probe things and then **FTBFS**.
     37Configure script wrongly probe things and then **FTBFS**:
     38
     39{{{
     40termcap.c:45:14: error: conflicting types for 'boolcodes'; have 'char *[]'
     41   45 | static char *boolcodes[] = {
     42      |              ^~~~~~~~~
     43In file included from ../../Src/zshterm.h:1,
     44                 from ../../Src/zsh_system.h:932,
     45                 from ../../Src/zsh.mdh:15,
     46                 from termcap.mdh:15,
     47                 from termcap.c:38:
     48/usr/include/term.h:783:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
     49  783 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
     50      |                                                        ^~~~~~~~~
     51make[3]: *** [Makefile:230: termcap.o] Error 1
     52}}}
     53
     54{{{
     55sed -e 's/^main/int &/' -e 's/exit/return/' -i aczsh.m4`
     56sed 's/test = /&(char**)/' -i configure.ac
     57autoreconf
     58}}}