On 6/13/24 23:39, Khem Raj via lists.openembedded.org wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On Thu, Jun 13, 2024 at 1:47 AM Changqing Li via
lists.openembedded.org
<changqing.li=windriver....@lists.openembedded.org>  wrote:
From: Changqing Li<changqing...@windriver.com>

Fix lib32-tnftp do_compile failure 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];

there is a new release available
https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/tnftpd-20231001.tar.gz

This new release is for ftp daemon,  and this recipe is for ftp client,  so no new release

avaiable,  but I will check if we can fix the the problem or check if there is fix upstream.

Thanks.

//Changqing

it might be good to upgrade it while here, and check if the issue is
fixed upstream or not.
secondly, it would be good to see if we can fix the problem or explain
it what's going on.
Signed-off-by: Changqing Li<changqing...@windriver.com>
---
  meta-networking/recipes-support/tnftp/tnftp_20230507.bb | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-support/tnftp/tnftp_20230507.bb 
b/meta-networking/recipes-support/tnftp/tnftp_20230507.bb
index bdd9759f2..da4466794 100644
--- a/meta-networking/recipes-support/tnftp/tnftp_20230507.bb
+++ b/meta-networking/recipes-support/tnftp/tnftp_20230507.bb
@@ -36,3 +36,6 @@ PACKAGECONFIG ?= "openssl \
  "
  PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl"
  PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
+#fix lib32-tnftp do_compile error with gcc-14
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.25.1







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110898): 
https://lists.openembedded.org/g/openembedded-devel/message/110898
Mute This Topic: https://lists.openembedded.org/mt/106648104/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to