On Thu, 21 Apr 2022, Bram Moolenaar wrote:


After this commit I get this error:

gui_gtk_x11.c:4139:14: error: implicit declaration of function 
'gdk_window_get_width' is invalid in C99 [-Werror,-Wimplicit-function
-declaration]
     int         w = gdk_window_get_width(win);
                     ^
gui_gtk_x11.c:4140:14: error: implicit declaration of function 
'gdk_window_get_height' is invalid in C99 [-Werror,-Wimplicit-functio
n-declaration]
     int         h = gdk_window_get_height(win);
                     ^
gui_gtk_x11.c:4140:14: note: did you mean 'gdk_window_get_origin'?
/opt/sw/include/gtk-2.0/gdk/gdkwindow.h:541:12: note: 'gdk_window_get_origin' 
declared here
gint          gdk_window_get_origin      (GdkWindow       *window,
               ^
2 errors generated.

The Bisect looks like this:

%git bisect good
280aebfd356c4fc8b84f13314068411157ad72f2 is the first bad commit
commit 280aebfd356c4fc8b84f13314068411157ad72f2
Author: Bram Moolenaar <[email protected]>
Date:   Sun Apr 17 17:34:42 2022 +0100

     patch 8.2.4775: SpellBad highlighting does not work in Konsole

     Problem:    SpellBad highlighting does not work in Konsole.
     Solution:   Do not keep t_8u defined for Konsole.  Redraw when t_8u is 
reset.
                 (closes #10177)

  src/term.c    | 13 ++++++++++---
  src/version.c |  2 ++
  2 files changed, 12 insertions(+), 3 deletions(-)

That patch doesn't change anything for the gui_gtk_x11.c file or what
could be related to the error.

The declarations should be in gdk/gdkwindow.h.  Don't see a problem with
that.

Perhaps configure didn't run correctly?

Seemed odd to me too, but that's where I ended up with git bisect. I can
retry the bisection if you'd like.

--
Hisashi T Fujinaka - [email protected]
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee

--
--
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/67db99bf-a65e-5b84-3e87-e6f46ffdcb4d%40twofifty.com.

Raspunde prin e-mail lui