bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix GNU/hurd build


From: Samuel Thibault
Subject: [PATCH] Fix GNU/hurd build
Date: Wed, 29 May 2024 23:47:16 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Debian switched to -Werror=implicit-function-declaration, thus much less
forgiving. I had to use the attached patch to fix the build on GNU/Hurd,
otherwise we get (version 8.2):

make[1]: Entering directory '/<<PKGBUILDDIR>>/build/examples/rlfe'
[...]
i686-gnu-gcc -c -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-I/usr/include/ncursesw -D_GNU_SOURCE pty.c
pty.c:325:7: error: implicit declaration of function ‘openpty’; did you mean 
‘OpenPTY’? [-Werror=implicit-function-declaration]

Samuel

Attachment: patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]