=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ebview-0.3.6nb33 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/Users/pbulk/build/textproc/ebview/work/ebview-0.3.6' Making all in src gmake[2]: Entering directory '/Users/pbulk/build/textproc/ebview/work/ebview-0.3.6/src' if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT bmh.o -MD -MP -MF ".deps/bmh.Tpo" -c -o bmh.o bmh.c; \ then mv -f ".deps/bmh.Tpo" ".deps/bmh.Po"; else rm -f ".deps/bmh.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT cellrendererebook.o -MD -MP -MF ".deps/cellrendererebook.Tpo" -c -o cellrendererebook.o cellrendererebook.c; \ then mv -f ".deps/cellrendererebook.Tpo" ".deps/cellrendererebook.Po"; else rm -f ".deps/cellrendererebook.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" -c -o dialog.o dialog.c; \ then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo"; exit 1; fi In file included from cellrendererebook.c:42: In file included from ./cellrendererebook.h:45: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcellrenderer.h:27: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcelleditable.h:27: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from dialog.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here In file included from bmh.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h: 36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h/Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] :void gtk_type_init (GTypeDebugFlags debug_flags); ^ 558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE/Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30 ^: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30:/Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' 37#define G_DEPRECATED __attribute__((__deprecated__)): note: ^ expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from bmh.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from cellrendererebook.c:42: In file included from ./cellrendererebook.h:47: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from dialog.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ bmh.c:41dialog.c:72:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] my_message); ^~~~~~~~~~ :24: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] table->pat = g_strdup(pat); ^~~ dialog.c:72:6: note: treat the string as an argument to avoid this /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:217:52: note: passing argument to parameter 'str' here my_message); ^ "%s", gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ bmh.c:41:13: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] table->pat = g_strdup(pat); ^ ~~~~~~~~~~~~~ bmh.c:44:25: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] table->length = strlen(pat); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ dialog.c:101:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] my_message); ^~~~~~~~~~ dialog.c:101:6: note: treat the string as an argument to avoid this my_message); ^ "%s", cellrendererebook.c:369:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ bmh.c:125:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(pat); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ cellrendererebook.c:383:15: warning: unused function 'replace_special_char' [-Wunused-function] static gchar *replace_special_char(gchar *text){ ^ 4 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT dictbar.o -MD -MP -MF ".deps/dictbar.Tpo" -c -o dictbar.o dictbar.c; \ then mv -f ".deps/dictbar.Tpo" ".deps/dictbar.Po"; else rm -f ".deps/dictbar.Tpo"; exit 1; fi 6 warnings generated. 4 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT dirtree.o -MD -MP -MF ".deps/dirtree.Tpo" -c -o dirtree.o dirtree.c; \ then mv -f ".deps/dirtree.Tpo" ".deps/dirtree.Po"; else rm -f ".deps/dirtree.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT dump.o -MD -MP -MF ".deps/dump.Tpo" -c -o dump.o dump.c; \ then mv -f ".deps/dump.Tpo" ".deps/dump.Po"; else rm -f ".deps/dump.Tpo"; exit 1; fi In file included from dictbar.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from dictbar.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from dump.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ dictbar.c:100:15: warning: cast to smaller integer type 'int' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if(i == (int)data) { ^~~~~~~~~ In file included from dirtree.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ dictbar.c:195:10: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (gpointer)idx); ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gsignal.h:508:73: note: expanded from macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ In file included from dump.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from dirtree.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from dirtree.c:23: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ dirtree.c:417:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(dir_list, reverse_compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dirtree.c:418:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(file_list, reverse_compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dirtree.c:619:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(dir_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ dirtree.c:620:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(file_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT eb.o -MD -MP -MF ".deps/eb.Tpo" -c -o eb.o eb.c; \ then mv -f ".deps/eb.Tpo" ".deps/eb.Po"; else rm -f ".deps/eb.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT ebview.o -MD -MP -MF ".deps/ebview.Tpo" -c -o ebview.o ebview.c; \ then mv -f ".deps/ebview.Tpo" ".deps/ebview.Po"; else rm -f ".deps/ebview.Tpo"; exit 1; fi 7 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT external.o -MD -MP -MF ".deps/external.Tpo" -c -o external.o external.c; \ then mv -f ".deps/external.Tpo" ".deps/external.Po"; else rm -f ".deps/external.Tpo"; exit 1; fi In file included from eb.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from eb.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from ebview.c:33: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ eb.c:542:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_remove(book_list, book_item->data); ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ eb.c:730:11: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] &length); ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:145:26: note: passing argument to parameter 'text_length' here char *text, ssize_t *text_length); ^ eb.c:680:6: warning: variable 'end_page' set but not used [-Wunused-but-set-variable] int end_page; ^ eb.c:812:8: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] euc_p = inbuf; ^ ~~~~~ eb.c:813:33: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] jis_p = jisbuf = malloc(strlen(euc_p)*2); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ eb.c:848:8: warning: returning 'guchar *' (aka 'unsigned char *') from a function with result type 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(jisbuf); ^~~~~~~~ eb.c:906:11: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] &length); ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:145:26: note: passing argument to parameter 'text_length' here char *text, ssize_t *text_length); ^ In file included from ebview.c:33: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ eb.c:998:37: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] NULL, MAXLEN_TEXT, heading, &length); ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:140:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ In file included from external.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ eb.c:1089:20: warning: passing 'char *' to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bmh = bmh_prepare(jisword, TRUE); ^~~~~~~ ./bmh.h:34:32: note: passing argument to parameter 'pat' here BMH_TABLE *bmh_prepare(guchar *pat, gboolean ignore_case); ^ eb.c:1112:11: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] &length); ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:145:26: note: passing argument to parameter 'text_length' here char *text, ssize_t *text_length); ^ eb.c:1122:30: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] start_p = bmh_search(bmh, start_p, EB_SIZE_PAGE + word_len - (start_p - data)); ^~~~~~~ ./bmh.h:36:46: note: passing argument to parameter 'text' here guchar *bmh_search(BMH_TABLE *table, guchar *text, gint n); ^ eb.c:1122:12: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] start_p = bmh_search(bmh, start_p, EB_SIZE_PAGE + word_len - (start_p - data)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eb.c:1174:37: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] NULL, MAXLEN_TEXT, heading, &length); ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:140:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ eb.c:1055:8: warning: variable 'word_p' set but not used [-Wunused-but-set-variable] char *word_p; ^ eb.c:1421:6: warning: assigning to 'gchar *' (aka 'char *') from 'guchar[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pp = body; ^ ~~~~ eb.c:1447:40: warning: passing 'guchar[65536]' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rp->data.eb.plain_heading = g_strdup(body); ^~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:217:52: note: passing argument to parameter 'str' here gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ eb.c:1777:12: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] &len); ^~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:143:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ eb.c:1817:11: warning: passing 'char *' to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(iseuc(word)){ ^~~~ ./jcode.h:38:30: note: passing argument to parameter 'buff' here gboolean iseuc(const guchar *buff); ^ eb.c:1964:18: warning: passing 'char *' to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (iseuckanji(keywords[0]))){ ^~~~~~~~~~~ ./jcode.h:35:35: note: passing argument to parameter 'buff' here gboolean iseuckanji(const guchar *buff); ^ eb.c:1968:20: warning: passing 'char *' to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!iseuckanji(&new_key[i])) { ^~~~~~~~~~~ ./jcode.h:35:35: note: passing argument to parameter 'buff' here gboolean iseuckanji(const guchar *buff); ^ eb.c:2008:107: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] error_code = eb_read_heading(binfo->book, binfo->appendix, &text_hookset, NULL, MAXLEN_HEADING, heading, &len); ^~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:143:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ eb.c:2048:32: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] NULL, MAXLEN_TEXT, text, &len); ^~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:140:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ eb.c:2088:32: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] NULL, MAXLEN_TEXT, text, &len); ^~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/text.h:140:14: note: passing argument to parameter 'text_length' here ssize_t *text_length); ^ eb.c:2377:22: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] image_height, image_data, &image_size); ^~~~~~~~~~ eb.c:2197:82: note: passing argument to parameter 'xbm' here static void ebook_bitmap_to_xbm(const char *bitmap, int width, int height, char *xbm, size_t *xbm_length) ^ eb.c:2285:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable] EB_Subbook *subbook; ^ eb.c:2403:12: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpm[i+3] = g_new(guchar, width + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ eb.c:2409:12: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpm[i+3] = g_new(guchar, width + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ eb.c:2443:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'gchar *' (aka 'char *') [-Wnon-literal-null-conversion] xpm[i+3] = '\0'; ^~~~ eb.c:2454:10: warning: variable 'image_data' set but not used [-Wunused-but-set-variable] guchar *image_data; ^ eb.c:2457:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable] EB_Subbook *subbook; ^ eb.c:2803:22: warning: passing 'guchar[2571]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] image_height, image_data, &image_size, fg, bg); ^~~~~~~~~~ eb.c:2803:34: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'guint *' (aka 'unsigned int *') [-Wincompatible-pointer-types] image_height, image_data, &image_size, fg, bg); ^~~~~~~~~~~ eb.c:2730:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable] EB_Subbook *subbook; ^ eb.c:3096:7: warning: incompatible pointer types passing 'gint *' (aka 'int *') to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] &bmp_length); ^~~~~~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/eb/font.h:155:24: note: passing argument to parameter 'bmp_length' here char *bmp, size_t *bmp_length); ^ eb.c:851:13: warning: unused function 'ebook_full_search_old' [-Wunused-function] static gint ebook_full_search_old(BOOK_INFO *binfo, char *word, gint method, gchar *title) ^ In file included from external.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from ebview.c:48: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT filter.o -MD -MP -MF ".deps/filter.Tpo" -c -o filter.o filter.c; \ then mv -f ".deps/filter.Tpo" ".deps/filter.Po"; else rm -f ".deps/filter.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT grep.o -MD -MP -MF ".deps/grep.Tpo" -c -o grep.o grep.c; \ then mv -f ".deps/grep.Tpo" ".deps/grep.Po"; else rm -f ".deps/grep.Tpo"; exit 1; fi In file included from filter.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from grep.c:24: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from filter.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from grep.c:24: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ filter.c:105:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if ((*p == ',')){ ~~~^~~~~~ filter.c:105:16: note: remove extraneous parentheses around the comparison to silence this warning else if ((*p == ',')){ ~ ^ ~ filter.c:105:16: note: use '=' to turn this equality comparison into an assignment else if ((*p == ',')){ ^~ = filter.c:117:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] } else if ((*p == '\0')){ ~~~^~~~~~~ filter.c:117:18: note: remove extraneous parentheses around the comparison to silence this warning } else if ((*p == '\0')){ ~ ^ ~ filter.c:117:18: note: use '=' to turn this equality comparison into an assignment } else if ((*p == '\0')){ ^~ = filter.c:196:43: warning: incompatible pointer types passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned long *') [-Wincompatible-pointer-types] if(g_file_get_contents(path, &contents, &length, &error) == FALSE){ ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gfileutils.h:120:45: note: passing argument to parameter 'length' here gsize *length, ^ filter.c:231:46: warning: incompatible pointer types passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned long *') [-Wincompatible-pointer-types] if(g_file_get_contents(outfile, &contents, &length, &error) == FALSE){ ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gfileutils.h:120:45: note: passing argument to parameter 'length' here gsize *length, ^ filter.c:301:46: warning: incompatible pointer types passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned long *') [-Wincompatible-pointer-types] if(g_file_get_contents(outfile, &contents, &length, &error) == FALSE){ ^~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gfileutils.h:120:45: note: passing argument to parameter 'length' here gsize *length, ^ filter.c:405:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(grep_file_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT headword.o -MD -MP -MF ".deps/headword.Tpo" -c -o headword.o headword.c; \ then mv -f ".deps/headword.Tpo" ".deps/headword.Po"; else rm -f ".deps/headword.Tpo"; exit 1; fi grep.c:140:23: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] here = simple_search(rp->word, tmp, strlen(tmp), bignore_case); ^~~~~~~~ ./bmh.h:37:31: note: passing argument to parameter 'pat' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:140:33: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] here = simple_search(rp->word, tmp, strlen(tmp), bignore_case); ^~~ ./bmh.h:37:44: note: passing argument to parameter 'text' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:140:7: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] here = simple_search(rp->word, tmp, strlen(tmp), bignore_case); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:218:41: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] code = guess_kanji(max_bytes_to_guess, contents); ^~~~~~~~ ./jcode.h:39:37: note: passing argument to parameter 'buf' here gint guess_kanji(gint imax, guchar *buf); ^ grep.c:277:29: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = bmh_search(bmh[i], p, pp - p); ^ ./bmh.h:36:46: note: passing argument to parameter 'text' here guchar *bmh_search(BMH_TABLE *table, guchar *text, gint n); ^ grep.c:277:8: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = bmh_search(bmh[i], p, pp - p); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:282:27: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = regex_search(reg, p); ^ ./reg.h:31:46: note: passing argument to parameter 'text' here guchar *regex_search(REG_TABLE *reg, guchar *text); ^ grep.c:282:7: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = regex_search(reg, p); ^ ~~~~~~~~~~~~~~~~~~~~ grep.c:284:23: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^~~~ ./bmh.h:37:31: note: passing argument to parameter 'pat' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:284:29: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^ ./bmh.h:37:44: note: passing argument to parameter 'text' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:284:7: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:297:29: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = bmh_search(bmh[i], p, pp - p); ^ ./bmh.h:36:46: note: passing argument to parameter 'text' here guchar *bmh_search(BMH_TABLE *table, guchar *text, gint n); ^ grep.c:297:8: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = bmh_search(bmh[i], p, pp - p); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:302:27: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = regex_search(reg, p); ^ ./reg.h:31:46: note: passing argument to parameter 'text' here guchar *regex_search(REG_TABLE *reg, guchar *text); ^ grep.c:302:7: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = regex_search(reg, p); ^ ~~~~~~~~~~~~~~~~~~~~ grep.c:304:23: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^~~~ ./bmh.h:37:31: note: passing argument to parameter 'pat' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:304:29: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^ ./bmh.h:37:44: note: passing argument to parameter 'text' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:304:7: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, pp - p, bignore_case); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:399:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((strchr(word, '^') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:400:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '$') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:401:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '[') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:404:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '.') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:405:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '*') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:406:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '+') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:407:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '?') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:408:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '|') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:409:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '{') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:410:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '}') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:412:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, '(') != NULL) || ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:413:13: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strchr(word, ')') != NULL)){ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ grep.c:459:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(dir_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ grep.c:471:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(grep_file_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:542:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] g_list_sort(grep_file_list, compare_func); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep.c:556:31: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if(includes_meta_char(word) == TRUE){ ^~~~ grep.c:397:44: note: passing argument to parameter 'word' here static gboolean includes_meta_char(guchar *word) ^ grep.c:586:30: warning: passing 'char *' to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bmh_euc[j] = bmh_prepare(keywords[i], bignore_case); ^~~~~~~~~~~ ./bmh.h:34:32: note: passing argument to parameter 'pat' here BMH_TABLE *bmh_prepare(guchar *pat, gboolean ignore_case); ^ grep.c:588:31: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bmh_sjis[j] = bmh_prepare(sjis_word, bignore_case); ^~~~~~~~~ ./bmh.h:34:32: note: passing argument to parameter 'pat' here BMH_TABLE *bmh_prepare(guchar *pat, gboolean ignore_case); ^ grep.c:596:27: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reg_euc = regex_prepare(l_word, bignore_case); ^~~~~~ ./reg.h:29:34: note: passing argument to parameter 'pat' here REG_TABLE *regex_prepare(guchar *pat, gboolean ignore_case); ^ grep.c:598:28: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reg_sjis = regex_prepare(sjis_word, bignore_case); ^~~~~~~~~ ./reg.h:29:34: note: passing argument to parameter 'pat' here REG_TABLE *regex_prepare(guchar *pat, gboolean ignore_case); ^ grep.c:699:41: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] code = guess_kanji(max_bytes_to_guess, contents); ^~~~~~~~ ./jcode.h:39:37: note: passing argument to parameter 'buf' here gint guess_kanji(gint imax, guchar *buf); ^ grep.c:815:25: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((includes_meta_char(rp->word) == TRUE) || ^~~~~~~~ grep.c:397:44: note: passing argument to parameter 'word' here static gboolean includes_meta_char(guchar *word) ^ grep.c:835:24: warning: passing 'char *' to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(keywords[i], (guchar *)p, strlen(p), bignore_case); ^~~~~~~~~~~ ./bmh.h:37:31: note: passing argument to parameter 'pat' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ grep.c:835:8: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(keywords[i], (guchar *)p, strlen(p), bignore_case); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT history.o -MD -MP -MF ".deps/history.Tpo" -c -o history.o history.c; \ then mv -f ".deps/history.Tpo" ".deps/history.Po"; else rm -f ".deps/history.Tpo"; exit 1; fi 44 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT hook.o -MD -MP -MF ".deps/hook.Tpo" -c -o hook.o hook.c; \ then mv -f ".deps/hook.Tpo" ".deps/hook.Po"; else rm -f ".deps/hook.Tpo"; exit 1; fi In file included from headword.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from headword.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from history.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from headword.c:30: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ In file included from history.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 3 warnings generated. 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT jcode.o -MD -MP -MF ".deps/jcode.Tpo" -c -o jcode.o jcode.c; \ then mv -f ".deps/jcode.Tpo" ".deps/jcode.Po"; else rm -f ".deps/jcode.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT link.o -MD -MP -MF ".deps/link.Tpo" -c -o link.o link.c; \ then mv -f ".deps/link.Tpo" ".deps/link.Po"; else rm -f ".deps/link.Tpo"; exit 1; fi In file included from hook.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from hook.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ hook.c:517:77: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf (text, "", argv[2], argv[3], data_size); ~~ ^~~~~~~~~ %zu /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ hook.c:180:22: warning: unused function 'hook_nop' [-Wunused-function] static EB_Error_Code hook_nop(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ hook.c:185:22: warning: unused function 'hook_initialize' [-Wunused-function] static EB_Error_Code hook_initialize(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ hook.c:247:22: warning: unused function 'hook_no_newline' [-Wunused-function] static EB_Error_Code hook_no_newline(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ hook.c:233:22: warning: unused function 'hook_narrow' [-Wunused-function] static EB_Error_Code hook_narrow(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ hook.c:657:22: warning: unused function 'hook_euc_to_ascii' [-Wunused-function] static EB_Error_Code hook_euc_to_ascii(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ hook.c:550:22: warning: unused function 'hook_graphic_reference' [-Wunused-function] static EB_Error_Code hook_graphic_reference(EB_Book *book, EB_Appendix *appendix, void *container, EB_Hook_Code code, int argc, const unsigned int *argv) ^ 9 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \ then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi In file included from link.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:In file included from jcode.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 34:void gtk_type_init (GTypeDebugFlags debug_flags); ^ warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: void gtk_type_init (GTypeDebugFlags debug_flags);note: ^ expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^/Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103note: 'GTypeDebugFlags' has been explicitly marked deprecated here :37: note: expanded from macro 'G_DEPRECATED' } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ #define G_DEPRECATED __attribute__((__deprecated__)) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from jcode.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from link.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ jcode.c:41:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "V", "VI", "VII", "VIII", "IX", "X", NULL, "ߥ", // 13-25 - 32 ^~~~ ~~~~ jcode.c:42:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~~~~~~~~~~~~~ jcode.c:42:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:42:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~ ~~~~ ~~~~ jcode.c:42:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:42:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~ ~~~~ jcode.c:42:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:42:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:42:75: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40 ^~~~~~~~~~~~ ~~~~ jcode.c:43:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~~~~~~~~~ ~~~~ jcode.c:43:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~~~~~~~~~~~~~~~~~ jcode.c:43:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~ ~~~~ jcode.c:43:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:43:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:43:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ jcode.c:43:70: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "å", "", "ɥ", "", "ѡ", "ߥС" "ڡ", "mm", // 13-41 - 48 ^~~~ ~~~~~~~~~~~~ jcode.c:45:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] NULL, NULL, NULL, NULL, NULL, NULL, "ʿ", "\"", // 13-57 - 64 ^~~~~~~~ jcode.c:46:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "\"", "No.", "K.K.", "TEL", "()", "()", "()", "()", // 13-65 - 72 ^~~~~~~~ jcode.c:46:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "\"", "No.", "K.K.", "TEL", "()", "()", "()", "()", // 13-65 - 72 ^~~~~~~~ jcode.c:46:48: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "\"", "No.", "K.K.", "TEL", "()", "()", "()", "()", // 13-65 - 72 ^~~~~~~~ jcode.c:46:56: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "\"", "No.", "K.K.", "TEL", "()", "()", "()", "()", // 13-65 - 72 ^~~~~~~~ jcode.c:47:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~ jcode.c:47:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~ jcode.c:47:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~ jcode.c:47:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~~~~~~~~~ jcode.c:47:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~~~~~~~~~ jcode.c:47:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()", "()", "(ͭ)", "()", "", "", "", NULL, // 13-73 - 80 ^~~~~~~~~~~~~~~~ jcode.c:61:16: warning: passing 'const guchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strcasecmp(icode, "euc-jp") == 0) { ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ jcode.c:65:7: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = replace_table[in[1] - 0xa1]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:69:23: warning: passing 'const guchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if(strcasecmp(icode, "shift_jis") == 0) { ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ jcode.c:73:7: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = replace_table[in[1] - 0x40]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:77:23: warning: passing 'const guchar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if(strcasecmp(icode, "iso-2022-jp") == 0){ ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ jcode.c:81:7: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = replace_table[in[1] - 0x21]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:89:45: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] utf_str = iconv_convert("euc-jp", "utf-8", str); ^~~ ./jcode.h:32:75: note: passing argument to parameter 'inbuf' here gchar *iconv_convert(const gchar *icode, const gchar *ocode, const gchar *inbuf); ^ jcode.c:89:10: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] utf_str = iconv_convert("euc-jp", "utf-8", str); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:92:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(utf_str); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ jcode.c:93:9: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(out, utf_str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ jcode.c:93:14: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(out, utf_str); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ jcode.c:133:9: warning: returning 'guchar *' (aka 'unsigned char *') from a function with result type 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(result); ^~~~~~~~ jcode.c:142:6: warning: cast to smaller integer type 'int' from 'libiconv_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] if( (int)cd == -1 ) { ^~~~~~~ jcode.c:149:8: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] inbuf = (gchar *)orig; ^ ~~~~~~~~~~~~~ jcode.c:151:28: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] origsize = isize = strlen(inbuf); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ jcode.c:179:17: warning: passing 'const gchar *' (aka 'const char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] replace_char(icode, ocode, &inbuf, &outbuf, &isize, &osize); ^~~~~ jcode.c:52:33: note: passing argument to parameter 'icode' here void replace_char(const guchar *icode, const guchar *ocode, guchar **inbuf, guchar **outbuf, gint *isize, gint *osize){ ^ jcode.c:179:24: warning: passing 'const gchar *' (aka 'const char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] replace_char(icode, ocode, &inbuf, &outbuf, &isize, &osize); ^~~~~ jcode.c:52:54: note: passing argument to parameter 'ocode' here void replace_char(const guchar *icode, const guchar *ocode, guchar **inbuf, guchar **outbuf, gint *isize, gint *osize){ ^ jcode.c:179:48: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'gint *' (aka 'int *') [-Wincompatible-pointer-types] replace_char(icode, ocode, &inbuf, &outbuf, &isize, &osize); ^~~~~~ jcode.c:52:100: note: passing argument to parameter 'isize' here void replace_char(const guchar *icode, const guchar *ocode, guchar **inbuf, guchar **outbuf, gint *isize, gint *osize){ ^ jcode.c:179:56: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'gint *' (aka 'int *') [-Wincompatible-pointer-types] replace_char(icode, ocode, &inbuf, &outbuf, &isize, &osize); ^~~~~~ jcode.c:52:113: note: passing argument to parameter 'osize' here void replace_char(const guchar *icode, const guchar *ocode, guchar **inbuf, guchar **outbuf, gint *isize, gint *osize){ ^ jcode.c:203:9: warning: returning 'guchar *' (aka 'unsigned char *') from a function with result type 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(result); ^~~~~~~~ jcode.c:208:8: warning: returning 'guchar *' (aka 'unsigned char *') from a function with result type 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(result); ^~~~~~~~ jcode.c:231:6: warning: cast to smaller integer type 'int' from 'libiconv_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] if( (int)cd == -1 ) { ^~~~~~~ jcode.c:325:12: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(iseuc(&word[i])) { ^~~~~~~~ ./jcode.h:38:30: note: passing argument to parameter 'buff' here gboolean iseuc(const guchar *buff); ^ jcode.c:326:21: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(iseuckatakana(&word[i])) { ^~~~~~~~ jcode.c:296:38: note: passing argument to parameter 'buff' here gboolean iseuckatakana(const guchar *buff){ ^ jcode.c:348:12: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(iseuc(&word[i])) { ^~~~~~~~ ./jcode.h:38:30: note: passing argument to parameter 'buff' here gboolean iseuc(const guchar *buff); ^ jcode.c:349:21: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(iseuchiragana(&word[i])) { ^~~~~~~~ jcode.c:305:38: note: passing argument to parameter 'buff' here gboolean iseuchiragana(const guchar *buff){ ^ jcode.c:406:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((strncmp(&buf[i], JIS0208_1978, strlen(JIS0208_1978)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:407:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS0208_1983, strlen(JIS0208_1983)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:408:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS0208_1990, strlen(JIS0208_1990)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:409:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS0212, strlen(JIS0212)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:410:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS_ASC, strlen(JIS_ASC)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:411:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS_ASC2, strlen(JIS_ASC2)) == 0) || ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ jcode.c:412:15: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strncmp(&buf[i], JIS_KANA, strlen(JIS_KANA)) == 0)) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT mainmenu.o -MD -MP -MF ".deps/mainmenu.Tpo" -c -o mainmenu.o mainmenu.c; \ then mv -f ".deps/mainmenu.Tpo" ".deps/mainmenu.Po"; else rm -f ".deps/mainmenu.Tpo"; exit 1; fi In file included from log.c:24: In file included from ./dialog.h:21: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 62 warnings generated. In file included from log.c:24: In file included from ./dialog.h:21: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT mainwindow.o -MD -MP -MF ".deps/mainwindow.Tpo" -c -o mainwindow.o mainwindow.c; \ then mv -f ".deps/mainwindow.Tpo" ".deps/mainwindow.Po"; else rm -f ".deps/mainwindow.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o menu.c; \ then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi In file included from mainmenu.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from mainmenu.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from mainwindow.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from mainwindow.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from mainwindow.c:42: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ mainwindow.c:271:25: warning: too many arguments in call to 'start_search' start_search(NULL, NULL); ~~~~~~~~~~~~ ^ mainwindow.c:531:17: warning: unused function 'focus_in_event' [-Wunused-function] static gboolean focus_in_event( GtkWidget *widget, ^ In file included from menu.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from menu.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT multi.o -MD -MP -MF ".deps/multi.Tpo" -c -o multi.o multi.c; \ then mv -f ".deps/multi.Tpo" ".deps/multi.Po"; else rm -f ".deps/multi.Tpo"; exit 1; fi 5 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pixmap.o -MD -MP -MF ".deps/pixmap.Tpo" -c -o pixmap.o pixmap.c; \ then mv -f ".deps/pixmap.Tpo" ".deps/pixmap.Po"; else rm -f ".deps/pixmap.Tpo"; exit 1; fi In file included from misc.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from misc.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from multi.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pixmap.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from multi.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. In file included from pixmap.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT popup.o -MD -MP -MF ".deps/popup.Tpo" -c -o popup.o popup.c; \ then mv -f ".deps/popup.Tpo" ".deps/popup.Po"; else rm -f ".deps/popup.Tpo"; exit 1; fi multi.c:286:7: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] (gpointer)i); ^~~~~~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gsignal.h:508:73: note: expanded from macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ multi.c:548:20: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] global_entry_id = (gint)data; ^~~~~~~~~~ multi.c:582:5: warning: variable 'dic_title' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(gtk_tree_model_get_iter_first(GTK_TREE_MODEL(dict_store), &parent) == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ multi.c:618:7: note: uninitialized use occurs here dic_title); ^~~~~~~~~ multi.c:582:2: note: remove the 'if' if its condition is always true if(gtk_tree_model_get_iter_first(GTK_TREE_MODEL(dict_store), &parent) == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ multi.c:571:18: note: initialize the variable 'dic_title' to silence this warning gchar *dic_title; ^ = NULL In file included from pixmap.c:21: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ pixmap.c:204:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ pixmap.c:220:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ pixmap.c:241:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 6 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT preference.o -MD -MP -MF ".deps/preference.Tpo" -c -o preference.o preference.c; \ then mv -f ".deps/preference.Tpo" ".deps/preference.Po"; else rm -f ".deps/preference.Tpo"; exit 1; fi 5 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_color.o -MD -MP -MF ".deps/pref_color.Tpo" -c -o pref_color.o pref_color.c; \ then mv -f ".deps/pref_color.Tpo" ".deps/pref_color.Po"; else rm -f ".deps/pref_color.Tpo"; exit 1; fi In file included from popup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from popup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from popup.c:27: ./pixmap.h:18:9: warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __PIXMAP_H__ ^~~~~~~~~~~~ ./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'? #define __MULTI_H__ ^~~~~~~~~~~ __PIXMAP_H__ In file included from preference.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from preference.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ preference.c:120:15: warning: implicit conversion from 'double' to 'gint' (aka 'int') changes value from 0.3 to 0 [-Wliteral-conversion] line_space = 0.3; ~ ^~~ 3 warnings generated. In file included from pref_color.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_dictgroup.o -MD -MP -MF ".deps/pref_dictgroup.Tpo" -c -o pref_dictgroup.o pref_dictgroup.c; \ then mv -f ".deps/pref_dictgroup.Tpo" ".deps/pref_dictgroup.Po"; else rm -f ".deps/pref_dictgroup.Tpo"; exit 1; fi In file included from pref_color.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ pref_color.c:92:13: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer *' (aka 'void **') [-Wpointer-to-int-cast] color_no = (gint)data; ^~~~~~~~~~ 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_dirgroup.o -MD -MP -MF ".deps/pref_dirgroup.Tpo" -c -o pref_dirgroup.o pref_dirgroup.c; \ then mv -f ".deps/pref_dirgroup.Tpo" ".deps/pref_dirgroup.Po"; else rm -f ".deps/pref_dirgroup.Tpo"; exit 1; fi 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_external.o -MD -MP -MF ".deps/pref_external.Tpo" -c -o pref_external.o pref_external.c; \ then mv -f ".deps/pref_external.Tpo" ".deps/pref_external.Po"; else rm -f ".deps/pref_external.Tpo"; exit 1; fi In file included from pref_dictgroup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_dictgroup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_dirgroup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ pref_dictgroup.c:1007:6: warning: variable 'title' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1091:9: note: uninitialized use occurs here g_free(title); ^~~~~ pref_dictgroup.c:1007:3: note: remove the 'if' if its condition is always false if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1003:5: warning: variable 'title' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_dictgroup.c:1091:9: note: uninitialized use occurs here g_free(title); ^~~~~ pref_dictgroup.c:1003:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:989:14: note: initialize the variable 'title' to silence this warning gchar *title; ^ = NULL pref_dictgroup.c:1007:6: warning: variable 'book_path' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1092:9: note: uninitialized use occurs here g_free(book_path); ^~~~~~~~~ pref_dictgroup.c:1007:3: note: remove the 'if' if its condition is always false if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1003:5: warning: variable 'book_path' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_dictgroup.c:1092:9: note: uninitialized use occurs here g_free(book_path); ^~~~~~~~~ pref_dictgroup.c:1003:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:990:18: note: initialize the variable 'book_path' to silence this warning gchar *book_path; ^ = NULL pref_dictgroup.c:1007:6: warning: variable 'fg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1094:9: note: uninitialized use occurs here g_free(fg); ^~ pref_dictgroup.c:1007:3: note: remove the 'if' if its condition is always false if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1003:5: warning: variable 'fg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_dictgroup.c:1094:9: note: uninitialized use occurs here g_free(fg); ^~ pref_dictgroup.c:1003:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:996:11: note: initialize the variable 'fg' to silence this warning gchar *fg; ^ = NULL pref_dictgroup.c:1007:6: warning: variable 'bg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1095:9: note: uninitialized use occurs here g_free(bg); ^~ pref_dictgroup.c:1007:3: note: remove the 'if' if its condition is always false if(update_last_dictionary() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:1003:5: warning: variable 'bg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_dictgroup.c:1095:9: note: uninitialized use occurs here g_free(bg); ^~ pref_dictgroup.c:1003:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_dictgroup.c:997:11: note: initialize the variable 'bg' to silence this warning gchar *bg; ^ = NULL pref_dictgroup.c:1105:9: warning: variable 'title' set but not used [-Wunused-but-set-variable] gchar *title; ^ pref_dictgroup.c:1157:13: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer *' (aka 'void **') [-Wpointer-to-int-cast] color_no = (gint)data; ^~~~~~~~~~ In file included from pref_dirgroup.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_external.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_external.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_font.o -MD -MP -MF ".deps/pref_font.Tpo" -c -o pref_font.o pref_font.c; \ then mv -f ".deps/pref_font.Tpo" ".deps/pref_font.Po"; else rm -f ".deps/pref_font.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_grep.o -MD -MP -MF ".deps/pref_grep.Tpo" -c -o pref_grep.o pref_grep.c; \ then mv -f ".deps/pref_grep.Tpo" ".deps/pref_grep.Po"; else rm -f ".deps/pref_grep.Tpo"; exit 1; fi 12 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_gui.o -MD -MP -MF ".deps/pref_gui.Tpo" -c -o pref_gui.o pref_gui.c; \ then mv -f ".deps/pref_gui.Tpo" ".deps/pref_gui.Po"; else rm -f ".deps/pref_gui.Tpo"; exit 1; fi In file included from pref_font.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_grep.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_font.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_gui.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_grep.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_gui.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ pref_font.c:82:12: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer *' (aka 'void **') [-Wpointer-to-int-cast] font_no = (gint)data; ^~~~~~~~~~ 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_io.o -MD -MP -MF ".deps/pref_io.Tpo" -c -o pref_io.o pref_io.c; \ then mv -f ".deps/pref_io.Tpo" ".deps/pref_io.Po"; else rm -f ".deps/pref_io.Tpo"; exit 1; fi 2 warnings generated. 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_search.o -MD -MP -MF ".deps/pref_search.Tpo" -c -o pref_search.o pref_search.c; \ then mv -f ".deps/pref_search.Tpo" ".deps/pref_search.Po"; else rm -f ".deps/pref_search.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_selection.o -MD -MP -MF ".deps/pref_selection.Tpo" -c -o pref_selection.o pref_selection.c; \ then mv -f ".deps/pref_selection.Tpo" ".deps/pref_selection.Po"; else rm -f ".deps/pref_selection.Tpo"; exit 1; fi In file included from pref_io.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_search.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_io.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_search.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_selection.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_selection.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_shortcut.o -MD -MP -MF ".deps/pref_shortcut.Tpo" -c -o pref_shortcut.o pref_shortcut.c; \ then mv -f ".deps/pref_shortcut.Tpo" ".deps/pref_shortcut.Po"; else rm -f ".deps/pref_shortcut.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_stemming.o -MD -MP -MF ".deps/pref_stemming.Tpo" -c -o pref_stemming.o pref_stemming.c; \ then mv -f ".deps/pref_stemming.Tpo" ".deps/pref_stemming.Po"; else rm -f ".deps/pref_stemming.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT pref_weblist.o -MD -MP -MF ".deps/pref_weblist.Tpo" -c -o pref_weblist.o pref_weblist.c; \ then mv -f ".deps/pref_weblist.Tpo" ".deps/pref_weblist.Po"; else rm -f ".deps/pref_weblist.Tpo"; exit 1; fi In file included from pref_shortcut.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_shortcut.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from pref_stemming.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from pref_stemming.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT reg.o -MD -MP -MF ".deps/reg.Tpo" -c -o reg.o reg.c; \ then mv -f ".deps/reg.Tpo" ".deps/reg.Po"; else rm -f ".deps/reg.Tpo"; exit 1; fi In file included from pref_weblist.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT render.o -MD -MP -MF ".deps/render.Tpo" -c -o render.o render.c; \ then mv -f ".deps/render.Tpo" ".deps/render.Po"; else rm -f ".deps/render.Tpo"; exit 1; fi In file included from pref_weblist.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ pref_weblist.c:259:6: warning: variable 'title' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:320:9: note: uninitialized use occurs here g_free(title); ^~~~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'title' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:320:9: note: uninitialized use occurs here g_free(title); ^~~~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:246:14: note: initialize the variable 'title' to silence this warning gchar *title; ^ = NULL pref_weblist.c:259:6: warning: variable 'home' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:321:9: note: uninitialized use occurs here g_free(home); ^~~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'home' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:321:9: note: uninitialized use occurs here g_free(home); ^~~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:247:13: note: initialize the variable 'home' to silence this warning gchar *home; ^ = NULL pref_weblist.c:259:6: warning: variable 'pre' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:322:9: note: uninitialized use occurs here g_free(pre); ^~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'pre' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:322:9: note: uninitialized use occurs here g_free(pre); ^~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:248:12: note: initialize the variable 'pre' to silence this warning gchar *pre; ^ = NULL pref_weblist.c:259:6: warning: variable 'post' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:323:9: note: uninitialized use occurs here g_free(post); ^~~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'post' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:323:9: note: uninitialized use occurs here g_free(post); ^~~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:249:13: note: initialize the variable 'post' to silence this warning gchar *post; ^ = NULL pref_weblist.c:259:6: warning: variable 'glue' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:324:9: note: uninitialized use occurs here g_free(glue); ^~~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'glue' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:324:9: note: uninitialized use occurs here g_free(glue); ^~~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:250:13: note: initialize the variable 'glue' to silence this warning gchar *glue; ^ = NULL pref_weblist.c:259:6: warning: variable 'code' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:325:9: note: uninitialized use occurs here g_free(code); ^~~~ pref_weblist.c:259:3: note: remove the 'if' if its condition is always false if(update_last_engine() == FALSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:255:5: warning: variable 'code' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~ pref_weblist.c:325:9: note: uninitialized use occurs here g_free(code); ^~~~ pref_weblist.c:255:2: note: remove the 'if' if its condition is always false if(rewinding == TRUE){ ^~~~~~~~~~~~~~~~~~~~~~ pref_weblist.c:251:13: note: initialize the variable 'code' to silence this warning gchar *code; ^ = NULL 14 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT selection.o -MD -MP -MF ".deps/selection.Tpo" -c -o selection.o selection.c; \ then mv -f ".deps/selection.Tpo" ".deps/selection.Po"; else rm -f ".deps/selection.Tpo"; exit 1; fi In file included from reg.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from reg.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from render.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ reg.c:28:24: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(0 != regcomp(reg, pat, REG_ICASE|REG_EXTENDED)){ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/regex.h:181:58: note: passing argument to parameter here int regcomp(regex_t * __restrict, const char * __restrict, int) __DARWIN_ALIAS(regcomp); ^ reg.c:34:24: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(0 != regcomp(reg, pat, REG_EXTENDED)){ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/regex.h:181:58: note: passing argument to parameter here int regcomp(regex_t * __restrict, const char * __restrict, int) __DARWIN_ALIAS(regcomp); ^ reg.c:53:33: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(REG_NOMATCH == regexec(reg, text, 1, pmatch, 0)){ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/regex.h:187:64: note: passing argument to parameter here int regexec(const regex_t * __restrict, const char * __restrict, size_t, ^ In file included from render.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ render.c:347:22: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, len, TRUE); ^~~~ ./bmh.h:37:31: note: passing argument to parameter 'pat' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ render.c:347:28: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, len, TRUE); ^ ./bmh.h:37:44: note: passing argument to parameter 'text' here guchar *simple_search(guchar *pat, guchar *text, gint n, gboolean ignore_case); ^ render.c:347:6: warning: assigning to 'gchar *' (aka 'char *') from 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = simple_search(word, p, len, TRUE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. render.c:425:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ render.c:517:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref(pixbuf); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR' #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ render.c:462:14: warning: variable 'end_iter' set but not used [-Wunused-but-set-variable] GtkTextIter end_iter; ^ render.c:461:14: warning: variable 'start_iter' set but not used [-Wunused-but-set-variable] GtkTextIter start_iter; ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT shortcut.o -MD -MP -MF ".deps/shortcut.Tpo" -c -o shortcut.o shortcut.c; \ then mv -f ".deps/shortcut.Tpo" ".deps/shortcut.Po"; else rm -f ".deps/shortcut.Tpo"; exit 1; fi In file included from selection.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from selection.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ selection.c:112:23: warning: passing 'gchar *' (aka 'char *') to parameter of type 'guchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(validate_euc_str(euc_str) == FALSE) { ^~~~~~~ selection.c:73:42: note: passing argument to parameter 'str' here static gboolean validate_euc_str(guchar *str){ ^ selection.c:198:19: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = g_strndup(data->data, data->length); ^~~~~~~~~~ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:225:53: note: passing argument to parameter 'str' here gchar* g_strndup (const gchar *str, ^ 9 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT shortcutfunc.o -MD -MP -MF ".deps/shortcutfunc.Tpo" -c -o shortcutfunc.o shortcutfunc.c; \ then mv -f ".deps/shortcutfunc.Tpo" ".deps/shortcutfunc.Po"; else rm -f ".deps/shortcutfunc.Tpo"; exit 1; fi 4 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT splash.o -MD -MP -MF ".deps/splash.Tpo" -c -o splash.o splash.c; \ then mv -f ".deps/splash.Tpo" ".deps/splash.Po"; else rm -f ".deps/splash.Tpo"; exit 1; fi In file included from shortcut.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from shortcut.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ shortcut.c:43:15: warning: incompatible pointer to integer conversion assigning to 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wint-conversion] event.keyval = user_data; ^ ~~~~~~~~~ shortcut.c:46:8: warning: implicit declaration of function 'perform_shortcut_by_event' is invalid in C99 [-Wimplicit-function-declaration] ret = perform_shortcut_by_event(&event); ^ shortcut.c:96:56: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'guint' (aka 'unsigned int') [-Wint-to-void-pointer-cast] closure = g_cclosure_new(G_CALLBACK(accel_handler), (gpointer)keyval, NULL); ^~~~~~~~~~~~~~~~ shortcut.c:59:9: warning: variable 'str' set but not used [-Wunused-but-set-variable] gchar *str; ^ shortcut.c:58:7: warning: variable 'idx' set but not used [-Wunused-but-set-variable] gint idx; ^ shortcut.c:57:13: warning: unused variable 'item' [-Wunused-variable] GtkWidget *item; ^ shortcut.c:118:7: warning: variable 'idx' set but not used [-Wunused-but-set-variable] gint idx; ^ shortcut.c:159:9: warning: unused variable 'item' [-Wunused-variable] GList *item; ^ shortcut.c:160:13: warning: unused variable 'widget' [-Wunused-variable] GtkWidget *widget; ^ 11 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT statusbar.o -MD -MP -MF ".deps/statusbar.Tpo" -c -o statusbar.o statusbar.c; \ then mv -f ".deps/statusbar.Tpo" ".deps/statusbar.Po"; else rm -f ".deps/statusbar.Tpo"; exit 1; fi In file included from shortcutfunc.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from shortcutfunc.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from splash.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from splash.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT textview.o -MD -MP -MF ".deps/textview.Tpo" -c -o textview.o textview.c; \ then mv -f ".deps/textview.Tpo" ".deps/textview.Po"; else rm -f ".deps/textview.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT thread_search.o -MD -MP -MF ".deps/thread_search.Tpo" -c -o thread_search.o thread_search.c; \ then mv -f ".deps/thread_search.Tpo" ".deps/thread_search.Po"; else rm -f ".deps/thread_search.Tpo"; exit 1; fi In file included from statusbar.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from statusbar.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT websearch.o -MD -MP -MF ".deps/websearch.Tpo" -c -o websearch.o websearch.c; \ then mv -f ".deps/websearch.Tpo" ".deps/websearch.Po"; else rm -f ".deps/websearch.Tpo"; exit 1; fi In file included from textview.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from thread_search.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from textview.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from thread_search.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT xml.o -MD -MP -MF ".deps/xml.Tpo" -c -o xml.o xml.c; \ then mv -f ".deps/xml.Tpo" ".deps/xml.Po"; else rm -f ".deps/xml.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -MT xmlinternal.o -MD -MP -MF ".deps/xmlinternal.Tpo" -c -o xmlinternal.o xmlinternal.c; \ then mv -f ".deps/xmlinternal.Tpo" ".deps/xmlinternal.Po"; else rm -f ".deps/xmlinternal.Tpo"; exit 1; fi In file included from websearch.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from websearch.c:19: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ websearch.c:74:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(strdup(str)); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ websearch.c:74:9: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(strdup(str)); ^~~~~~~~~~~~~ websearch.c:80:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(strdup(str)); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ websearch.c:80:9: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(strdup(str)); ^~~~~~~~~~~~~ websearch.c:82:39: warning: passing 'unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(iconv_convert("utf-8", ocode, str)); ^~~ ./jcode.h:32:75: note: passing argument to parameter 'inbuf' here gchar *iconv_convert(const gchar *icode, const gchar *ocode, const gchar *inbuf); ^ websearch.c:82:8: warning: returning 'gchar *' (aka 'char *') from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(iconv_convert("utf-8", ocode, str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ websearch.c:148:25: warning: passing 'gchar *' (aka 'char *') to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanji_str = codeconv(keywords[i], code); ^~~~~~~~~~~ websearch.c:70:47: note: passing argument to parameter 'str' here static unsigned char *codeconv(unsigned char *str, const char *ocode) ^ websearch.c:149:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for(j=0 ; j < strlen(kanji_str) ; j ++){ ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ websearch.c:192:13: warning: unused function 'weblist_selection_changed' [-Wunused-function] static void weblist_selection_changed(GtkTreeSelection *selection, gpointer data) ^ 11 warnings generated. In file included from xml.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from xml.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from xmlinternal.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/gobject/gtype.h:704:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:558:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36' # define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1180:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1103:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from xmlinternal.c:18: In file included from ./defs.h:32: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/textproc/ebview/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gtypes.h:551:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gversionmacros.h:971:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' # define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1181:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/textproc/ebview/work/.buildlink/include/glib-2.0/glib/gmacros.h:1113:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. 2 warnings generated. clang -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -Wall -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -L/opt/pkg/lib -o ebview bmh.o cellrendererebook.o dialog.o dictbar.o dirtree.o dump.o eb.o ebview.o external.o filter.o grep.o headword.o history.o hook.o jcode.o link.o log.o mainmenu.o mainwindow.o menu.o misc.o multi.o pixmap.o popup.o preference.o pref_color.o pref_dictgroup.o pref_dirgroup.o pref_external.o pref_font.o pref_grep.o pref_gui.o pref_io.o pref_search.o pref_selection.o pref_shortcut.o pref_stemming.o pref_weblist.o reg.o render.o selection.o shortcut.o shortcutfunc.o splash.o statusbar.o textview.o thread_search.o websearch.o xml.o xmlinternal.o -L/opt/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype -lpthread -L/opt/pkg/lib -L/opt/pkg/lib -leb -lz -lintl -liconv -liconv Undefined symbols for architecture x86_64: "_XIconifyWindow", referenced from: _iconify in shortcutfunc.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:342: ebview] Error 1 gmake[2]: Leaving directory '/Users/pbulk/build/textproc/ebview/work/ebview-0.3.6/src' gmake[1]: *** [Makefile:244: all-recursive] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/textproc/ebview/work/ebview-0.3.6' gmake: *** [Makefile:182: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/textproc/ebview *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/textproc/ebview