On 07-Mar-2022 06:56, Bram Moolenaar wrote:
Patch 8.2.4520
Problem: Using wrong highlight for cursor line number.
Solution: Take filler lines into account when using CursorLineNr.
(closes #9897)
Files: src/drawline.c, src/testdir/test_diffmode.vim,
src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
After this match mingw64 (gcc 11.2.0) spits out this error if FEAT_DIFF
or FEAT_SIGNS are not defined:
<snip>
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
-DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO
-pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return
-fpie -fPIE -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD drawline.c -o
gobjnative/drawline.o
drawline.c: In function 'win_line':
drawline.c:1197:53: error: 'filler_lines' undeclared (first use in this
function)
1197 | && (row == startrow + filler_lines
| ^~~~~~~~~~~~
drawline.c:1197:53: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [Make_cyg_ming.mak:1184: gobjnative/drawline.o] Error 1
</snip>
Not sure the best way to fix it.
Cheers
John
--
--
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/3b8c69b0-eb3a-ab32-5754-31ecd24c1503%40internode.on.net.