> [image: vim-bugs.jpg]
> According to the error message, I add the explicit declaration for "
> *setpwent"* and "*getpwent"* function at src/misc1.c, and it works, like
> this:
> [image: vim-fix.png]
> *Environment:*
> Vim:9.0
> clang:16.0.0
> cmake:3.26.1
> Termux:latest
>
> Has anyone had this problem?£
Please check the output of configure, especially src/auto/config.log.
Search for "getpwent". Also search for pwd.h.
Can you find HAVE_PWD_H in src/auto/config.h ?
Instead of explicitly declaring the functions, this might work:
#include <pwd.h>
--
-rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
-rwxr-xr-t 4 root 131720 Jan 1 1970 /usr/ucb/vi
-rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230404210527.411581C0B8A%40moolenaar.net.
No comments:
Post a Comment