On 16-Mar-2023 04:09, Bram Moolenaar wrote:
John Marriott wrote:
On 11-Mar-2023 03:36, Bram Moolenaar wrote:
Patch 9.0.1397
Problem: Highlight for popupmenu kind and extra cannot be set.
Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel
highlight groups and use them. (Gianmaria Bajo, closes #12114)
Files: runtime/doc/syntax.txt, runtime/doc/options.txt, src/highlight.c,
src/optiondefs.h, src/popupmenu.c, src/vim.h,
src/testdir/dumps/Test_pum_highlights_01.dump,
src/testdir/dumps/Test_pum_highlights_02.dump,
src/testdir/test_popup.vim
After this patch, my HP-UX build fails with this error:
<snip>
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -D_REENTRANT -o
objects/popupmenu.o popupmenu.c
cc: "popupmenu.c", line 439: error 1521: Incorrect initialization.
cc: "popupmenu.c", line 439: error 1521: Incorrect initialization.
cc: "popupmenu.c", line 439: error 1521: Incorrect initialization.
cc: "popupmenu.c", line 440: error 1521: Incorrect initialization.
cc: "popupmenu.c", line 440: error 1521: Incorrect initialization.
cc: "popupmenu.c", line 440: error 1521: Incorrect initialization.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
</snip>
The attached patch seems to fix it.
Thanks, I'll include it. Perhaps changing "ha" to "highlight_attr" to
avoid the intermediate variable also works?
You da man.😎
--
--
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/4de44700-5d48-8c4c-76fa-7457931885e5%40internode.on.net.