summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/smarty
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-06-14 15:53:34 +0800
committerKhem Raj <raj.khem@gmail.com>2024-06-14 10:20:37 -0700
commitf6f2fad649b2d404f40660968151b8b5a58c5fc7 (patch)
tree605814cd4ab4c9a193f7e76e41a626940259e872 /meta-oe/recipes-support/smarty
parent27635c0adcf13dd5fd40b75b3e809376888185a3 (diff)
downloadmeta-openembedded-f6f2fad649b2d404f40660968151b8b5a58c5fc7.tar.gz
tnftp: fix lib32-tnftp build failure with gcc-14
lib32-tnftp do_compile failed with gcc-14: ../../tnftp-20230507/libedit/terminal.c:597:56: error: passing argument 2 of 'terminal_overwrite' from incompatible pointer type [-Wincompatible-pointer-types] 597 | terminal_overwrite(el, &el->el_display[ | ^~~~~~~~~~~~~~~~ | | | wint_t * {aka unsigned int *} 598 | el->el_cursor.v][el->el_cursor.h], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../tnftp-20230507/libedit/refresh.c:114:38: error: initialization of 'wchar_t *' {aka 'long int *'} from incompatible pointer type 'wint_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 114 | wchar_t *firstline = el->el_vdisplay[0]; For 64bit system: wchar_t is defined as int wint_t is define as unsigned int For 32bit system: wchar_t is defined as long int wint_t is define as unsigned int In 64bit case, it works well, but in 32bit case, gcc will take it as incompatible, and report above error Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/smarty')
0 files changed, 0 insertions, 0 deletions