<div dir="ltr"><div>When building with <code>-Wno-deprecated-declarations </code>the warnings listed below remain.</div><div><br></div><div>When building with <span style="font-family:monospace">-Wno-incompatible-pointer-types </span>the build is successful.</div><div><br></div><div>=> so it seems the three instance of incompatible types are the culprit here.<br></div><div><br><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span></span></div><div><span style="font-family:monospace">lxterminal.c: In function ‘terminal_new’:
<br>lxterminal.c:1205:24: error: passing argument 2 of ‘gtk_style_context_add_provider’ from incompatible pointer type [-Wincompatible-pointer-types]
<br> 1205 | box_style_ctx, box_css_provider,
<br> | ^~~~~~~~~~~~~~~~
<br> | |
<br> | GtkCssProvider * {aka struct _GtkCssProvider *}
<br>In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
<br> from /usr/include/gtk-3.0/gtk/gtk.h:127,
<br> from lxterminal.c:28:
<br>/usr/include/gtk-3.0/gtk/gtkstylecontext.h:1034:59: note: expected ‘GtkStyleProvider *’ {aka ‘struct _GtkStyleProvider *’} but argument is of type ‘GtkCssProvider *’ {aka ‘struct _GtkCssProvider *’}
<br> 1034 | GtkStyleProvider *provider,
<br> | ~~~~~~~~~~~~~~~~~~^~~~~~~~
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">lxterminal.c:1237:19: error: passing argument 1 of ‘g_regex_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
<br> 1237 | g_regex_unref(dingus1);
<br> | ^~~~~~~
<br> | |
<br> | VteRegex * {aka struct _VteRegex *}
<br>In file included from /usr/include/glib-2.0/glib.h:78,
<br> from lxterminal.c:27:
<br>/usr/include/glib-2.0/glib/gregex.h:457:71: note: expected ‘GRegex *’ {aka ‘struct _GRegex *’} but argument is of type ‘VteRegex *’ {aka ‘struct _VteRegex *’}
<br> 457 | void g_regex_unref (GRegex *regex);
<br> | ~~~~~~~~~~~~~~~~~~~~~^~~~~
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">lxterminal.c:1238:19: error: passing argument 1 of ‘g_regex_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
<br> 1238 | g_regex_unref(dingus2);
<br> | ^~~~~~~
<br> | |
<br> | VteRegex * {aka struct _VteRegex *}
<br>/usr/include/glib-2.0/glib/gregex.h:457:71: note: expected ‘GRegex *’ {aka ‘struct _GRegex *’} but argument is of type ‘VteRegex *’ {aka ‘struct _VteRegex *’}
<br> 457 | void g_regex_unref (GRegex *regex);
<br> | ~~~~~~~~~~~~~~~~~~~~~^~~~~<br></span></div></div>