John Marriott wrote:
> On 27-Mar-2020 09:14, Bram Moolenaar wrote:
> > Patch 8.2.0460 (after 8.2.0459)
> > Problem: Build failure because of wrong feature name.
> > Solution: Correct feature name.
> > Files: src/evalfunc.c
> >
> >
> >
> After applying patches 8.2.0449 to 8.2.0460, HP-UX throws this error if
> FEAT_FLOAT and FEAT_JOB_CHANNEL are not defined (I get an error to the
> same effect from mingw64):
> <snip>
> cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -D_REENTRANT -o
> objects/evalfunc.o evalfunc.c
> cc: "evalfunc.c", line 421: error 1588: "ret_float" undefined.
> cc: "evalfunc.c", line 421: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 430: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 443: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 444: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 484: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 491: error 1588: "ret_job" undefined.
> cc: "evalfunc.c", line 491: error 1521: Incorrect initialization.
> cc: "evalfunc.c", line 495: error 1588: "ret_channel" undefined.
> cc: "evalfunc.c", line 495: error 1521: Incorrect initialization.
[...]
> I'm not sure of the correct fix, so I have put together three different
> possibilities, all of which appear to fix the problem both on HP-UX and
> mingw64.
I'm actually surprised it doesn't fail on more systems.
Since t_channel and t_job are always defined, might as well do the same
for t_float. Then we can remove the #ifdef's.
--
BLACK KNIGHT: Come on you pansy!
[hah] [parry thrust]
[ARTHUR chops the BLACK KNIGHT's right arm off]
ARTHUR: Victory is mine! [kneeling]
We thank thee Lord, that in thy merc-
[Black Knight kicks Arthur in the head while he is praying]
The Quest for the Holy Grail (Monty Python)
/// 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/202003271953.02RJrPht028871%40masaka.moolenaar.net.