Tony wrote:
> On Sun, Apr 28, 2019 at 3:00 PM Bram Moolenaar <[email protected]> wrote: > > > > > > Patch 8.1.1225 > > Problem: Cannot create a pty to use with :terminal on FreeBSD. > > Solution: Add support for posix_openpt(). (Ozaki Kiichi, closes #4306, > > closes #4289) > > Files: src/configure.ac, src/config.h.in, src/auto/configure, src/pty.c > > Warning in all builds except Tiny: for example in Small: > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2 > -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 > -o objects/pty.o pty.c > pty.c: In function ‘mch_openpty’: > pty.c:198:14: warning: implicit declaration of function > ‘posix_openpt’; did you mean ‘mch_openpty’? > [-Wimplicit-function-declaration] > if ((f = posix_openpt(O_RDWR | O_NOCTTY | O_EXTRA)) == -1) > ^~~~~~~~~~~~ > mch_openpty I guess stdlib.h doesn't always define it. We can add a declaration. -- Q: How many hardware engineers does it take to change a lightbulb? A: None. We'll fix it in software. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
