Bram Moolenaar wrote:

> Patch 8.2.0890
> Problem:    No color in terminal window when 'termguicolor' is set.
> Solution:   Clear the underline color. (closes #6186)
> Files:      src/highlight.c

Patch 8.2.0890 introduces a compilation warning:

gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1   -DEXITFREE     -o
objects/highlight.o highlight.c
In file included from vim.h:1812:0,
                 from highlight.c:15:
highlight.c: In function ‘get_cterm_attr_idx’:
structs.h:116:21: warning: large integer implicitly truncated to
unsigned type [-Woverflow]
 # define INVALCOLOR ((guicolor_T)0x1ffffff)
                     ^
highlight.c:2238:33: note: in expansion of macro ‘INVALCOLOR’
     at_en.ae_u.cterm.ul_color = INVALCOLOR;
                                 ^~~~~~~~~~

at_en.ae_u.ul_color is a 'short_u' type.

Dominique

-- 
-- 
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/CAON-T_gTnH5xst_12J8di3gZGX9iK0MM6Yv8RRJ99Suh0xkTQw%40mail.gmail.com.

Raspunde prin e-mail lui