On Thu, 31 Oct 2024 08:58:44 +0100, Thomas Klausner wrote:
>
> On Thu, Oct 31, 2024 at 08:32:02AM +0100, K. Schreiner wrote:
> > compile ctags/lisp.lo
> > /u/NetBSD/src.ks/tools/ctags/../../usr.bin/ctags/ctags.c: In function
> > 'main':
> > /u/NetBSD/src.ks/tools/ctags/../../usr.bin/ctags/ctags.c:144:19: warning:
> > implicit declaration of function 'shquote' [-Wimplicit-function-declaration]
> > 144 | if ((sz = shquote(outfile, tname, sizeof tname)) >= sizeof
> > tname) {
> > | ^~~~~~~
>
> I just checked on NetBSD and don't see the warning, and the file
> includes stdlib.h now like it should, so this is probably solved.
No, it isn't. On Debian (testing) I get:
--- ctags.lo ---
/home/herbert/sources/netbsd/src/tools/ctags/../../usr.bin/ctags/ctags.c: In
function 'main':
/home/herbert/sources/netbsd/src/tools/ctags/../../usr.bin/ctags/ctags.c:144:19:
error: implicit declaration of function 'shquote'
[-Wimplicit-function-declaration]
144 | if ((sz = shquote(outfile, tname, sizeof tname)) >= sizeof
tname) {
| ^~~~~~~
*** Failed target: ctags.lo