Compiling Fl_Terminal.cxx... Fl_Terminal.cxx: In method `void Fl_Terminal::draw_row(int, int) const': Fl_Terminal.cxx:3600: warning: comparison of distinct pointer types `Fl_Widget *' and `const Fl_Terminal *' lacks a cast make[1]: *** [Fl_Terminal.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 1 --- Fl_Terminal.cxx.orig 2024-03-15 20:42:42.000000000 +0100 +++ Fl_Terminal.cxx 2024-03-17 16:56:56.000000000 +0100 @@ -3597,7 +3597,7 @@ int cw = pwidth; int ch = cursor_.h(); fl_color(cursorbgcolor()); - if (Fl::focus() == this) fl_rectf(cx, cy, cw, ch); + if (Fl::focus() == (const Fl_Widget *)this) fl_rectf(cx, cy, cw, ch); else fl_rect(cx, cy, cw, ch); } // DRAW TEXT