John Marriott wrote:
> On 11-Jan-2023 22:46, Bram Moolenaar wrote:
> > Patch 9.0.1175
> > Problem: The set_ref_in_item() function is too long.
> > Solution: Use a separate function for more complicated types. (Yegappan
> > Lakshmanan, closes #11802)
> > Files: src/eval.c
> >
> >
> >
> After this patch msys64 (clang 15.0.5) gives this error message:
> <snip>
> clang -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO
> -pipe -Wall -O3 -fomit-frame-pointer -fpie -fPIE -DFEAT_GUI_MSWIN
> -DFEAT_CLIPBOARD eval.c -o gobjx86-64/eval.o
> eval.c:5773:42: error: no member named 'v_job' in 'union
> typval_S::(unnamed at ./structs.h:1548:5)'
> return set_ref_in_item_job(tv->vval.v_job, copyID,
> ~~~~~~~~ ^
> eval.c:5777:46: error: no member named 'v_channel' in 'union
> typval_S::(unnamed at ./structs.h:1548:5)'
> return set_ref_in_item_channel(tv->vval.v_channel, copyID,
> ~~~~~~~~ ^
> 2 errors generated.
> make: *** [Make_cyg_ming.mak:1206: gobjx86-64/eval.o] Error 1
> </snip>
>
> The attached patch tries to fix it.
I'll include it, thanks.
--
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- 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_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/20230111191146.6ABEA1C07A0%40moolenaar.net.