Debian Patches
Status for ncdc/1.23.1-1.1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-Fix-Clang-16-errors-for-invalid-C99-constructs-Winco.patch | Fix Clang 16 errors for invalid C99 constructs (-Wincompatible-pointer-types) These errors were caused by `t_title` function having "void" parameter instead of "ui_tab_t *tab", like everywhere else: ``` src/uit_conn.c:398:41: error: initialization of char * (*)(ui_tab_t *) from incompatible pointer type char * (*)(void) [-Wincompatible-pointer-types] 398 | ui_tab_type_t uit_conn[1] = { { t_draw, t_title, t_key, t_close } }; | ^~~~~~~ ``` Also renamed `t` param in `t_title` of "src/uit_main.c" to `tab`, for consistency with other functions. This error appeared only in 1.24 release cycle, because changing prototypes from "()" to "(void)" in 2cf47a7ec9f35d1afaf24a6f9644fbecf6df92df changed meaning of the type from "any parameters, including ui_tab_t *" to "no parameters at all", and this is where Clang starts to complain. |
Eric Joldasov <bratishkaerik@landless-city.net> | yes | upstream | 2024-04-09 |
All known versions for source package 'ncdc'
- 1.23.1-1.1 (forky, sid)
- 1.23.1-1 (bookworm, trixie)
