Patch 8.2.1676
Problem: Compiler warnings for function typecast.
Solution: Add an intermediate cast to "void *".
Files: src/os_unix.c
*** ../vim-8.2.1675/src/os_unix.c 2020-08-30 17:24:34.277662302 +0200
--- src/os_unix.c 2020-09-13 21:58:42.923711775 +0200
***************
*** 7434,7440 ****
)))
{
if (string_result == NULL)
! retval_int = ((STRPROCINT)ProcAdd)(argstring);
else
retval_str = (ProcAdd)(argstring);
}
--- 7434,7440 ----
)))
{
if (string_result == NULL)
! retval_int = ((STRPROCINT)(void *)ProcAdd)(argstring);
else
retval_str = (ProcAdd)(argstring);
}
***************
*** 7456,7462 ****
)))
{
if (string_result == NULL)
! retval_int = ((INTPROCINT)ProcAddI)(argint);
else
retval_str = (ProcAddI)(argint);
}
--- 7456,7462 ----
)))
{
if (string_result == NULL)
! retval_int = ((INTPROCINT)(void *)ProcAddI)(argint);
else
retval_str = (ProcAddI)(argint);
}
*** ../vim-8.2.1675/src/version.c 2020-09-13 21:01:18.502468650 +0200
--- src/version.c 2020-09-13 21:59:25.059554596 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1676,
/**/
--
So when I saw the post to comp.editors, I rushed over to the FTP site to
grab it. So I yank apart the tarball, light x candles, where x= the
vim version multiplied by the md5sum of the source divided by the MAC of
my NIC (8A3FA78155A8A1D346C3C4A), put on black robes, dim the lights,
wave a dead chicken over the hard drive, and summon the power of GNU GCC
with the magic words "make config ; make!".
[Jason Spence, compiling Vim 5.0]
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202009132000.08DK0pKg1454774%40masaka.moolenaar.net.