japanese/ebview-gtk2
Electronic Book Viewer
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.3.6_20 | 623 | 4.0 | i386 | gpl2+ | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4032 | info | 2025-12-24 00:56:20.145835 | Test Started |
| m4032 | fail | 2025-12-24 00:57:55.827378 | make build returned non-zero: 1 |
| m4032 | fail | 2025-12-24 00:57:55.915018 | Test complete. |
Log
[1m===> Building for ja-ebview-gtk2-0.3.6_20[0m
/usr/local/bin/gmake all-recursive
gmake[1]: Entering directory '/magus/work/usr/mports/japanese/ebview-gtk2/work/ebview-0.3.6'
Making all in src
gmake[2]: Entering directory '/magus/work/usr/mports/japanese/ebview-gtk2/work/ebview-0.3.6/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
In file included from cellrendererebook.c:42:
In file included from ./cellrendererebook.h:45:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcellrenderer.h:27:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcelleditable.h:27:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlagIn file included from dialog.c:19:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:s 33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35 :
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: debug_flags);
| ^
'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
236 | 731void | } GTypeDebugFl ag s GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
gtk_type_in/usr/local/include/glib-2.0/gobject/gobject-visibility.h:it 213: (41:GT note: ypexpanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
e 213 | #defDeinbue gFGOlaBJgsEC T_ DEdePRbuECg_ATflEDag_Ts)YP;
| E_ ^
IN_2/usr/local/include/glib-2.0/gobject/gtype.h:_3731:6 19:GL note: IB'GTypeDebugFlags' has been explicitly marked deprecated here
_DE 731PR | }ECAT ED_TYPE
| GTy ^pIn file included from bmh.c:
18:
/usr/local/include/glib-2.0/glib/gmacros.h:eD1328:30ebuIn file included from ./defs.h:32: note: expanded from macro 'GLIB_DEPRECATED_TYPE'g
:
In file included from 1328Fl | #agd/usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from s GefOBJECT_D/usr/local/include/gtk-2.0/gtk/gtkaboutdialog.hEinePR GECLIATB_E:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36D_TDEPRECATED_TYYPPE:
_IN_E2_In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from G/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:_D35:
EPIn file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.hR:36ECAT:
In file included from ED
/usr/local/include/gtk-2.0/gtk/gtkobject.h:| ^37:
36
;/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236/usr/local/include/glib-2.0/glib/gmacros.h:1267
:37| ^:
:34 note: : expanded from macro 'G_DEPRECATED'warning:
/usr/local/include/glib-2.0/gobject/gobject-visibility.h'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
1267:213 | :41 236 | vo: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
id 213 | #d # d getkf_tiynpee_init efine GOBJECT (G_TyD G_peDeDEPERECPRbAECIn file included from TugFlaATED_Tdictbar.c:gsYP 18:
In file included from ./defs.hEDE_ : IN32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33 d__2e_abu_36g_ft:
lagIn file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.hstribut:32);
e__(| ^
G(:
In file included from _/usr/local/include/glib-2.0/gobject/gtype.h:/usr/local/include/gtk-2.0/gtk/gtkdialog.h_deLIpr731B_D:EPec:35:
19: note: 'GTypeDebugFlags' has been explicitly marked deprecated hereated__))
| ^
731 | }In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h G:36TypeDeb:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
RECAIn file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.hug:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36T:
In file included from Fl/usr/local/include/gtk-2.0/gtk/gtkobject.h:ED_TYa37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]gs
PE
GO | ^
B236 | JECT_DvEPRE/usr/local/include/glib-2.0/glib/gmacros.h:1328:30CAT: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
oi 1328 | #defined GLIB_DEPREC ATED _TED YPE G_D_TEYgPPRECATtk_EDE_tyIN_pe2_36;
| ^
_init (GT/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
y
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267: 213p | #define GOBJECT37: note: eDe_expanded from macro 'G_DEPRECATED'b
DEP RE1267ugFlag | #sdefine G_DEPRECATED __attribute__((__de precated__))
| ^
debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19CA: note: TED'GTypeDebugFlags' has been explicitly marked deprecated here_TY
P E_IN_2731 | } G_36TypeDebugFl GLIags GOBJEB_DECT_PRDEPECARECATED_TYPETE_IND__TYPE2
_36;
| ^
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30:/usr/local/include/glib-2.0/gobject/gobject-visibility.h note: expanded from macro 'GLIB_DEPRECATED_TYPE':213:
41: 1328 | note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
# defi213 | #define GOne BJECT_DEPREGLCATIB_DEDEPR_TYPE_IN_2_36 GECATED_TYLIB_DEPRECATED_TYPEPE
G | ^
_D/usr/local/include/glib-2.0/glib/gmacros.hEPRE:1328:CA30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
TED
1328 | #def in| ^
e /usr/local/include/glib-2.0/glib/gmacros.h:GL1267:IB_DEPREC37: note: expanded from macro 'G_DEPRECATED'ATED_TYPE G_DEPR
ECATED
| ^
1267/usr/local/include/glib-2.0/glib/gmacros.h:1267 | #d:37:ef note: expanded from macro 'G_DEPRECATED'
i ne 1267 | #define G_DG_EPRECATED __attribute__((__deDEprecated__))
| ^
PRECATED __attribute__((__deprecated__))
| ^
In file included from dialog.c:19:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #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 /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^In file included from bmh.c:
/usr/local/include/glib-2.0/glib/gmacros.h18:
:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
In file included from 1329./defs.h:32:
In file included from | #/usr/local/include/gtk-2.0/gtk/gtk.h:de126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.hfine GLIB:30:
_DEIn file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.hPRECATE:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
D_TY 73PEIn file included from _FOR(f) dictbar.c:G_D | 18:
In file included from EPR./defs.hEC:32:
In file included from GTimeATVED_Fal/usr/local/include/gtk-2.0/gtk/gtk.h:126:
OR( lIn file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:ast30:
_popdownf)
| ^
;
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: | note: expanded from macro 'G_DEPRECATED_FOR'
^ 1277 | #define G_
DEIn file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.hPREC/usr/local/include/glib-2.0/glib/gtypes.h::30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:ATED_FOR31:
578:35(f/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
: 73 | Gnote: 'GTimeVal' has been explicitly marked deprecated here
) __attrib 578ute__((__deprecated__( | TimeVal latsyp"Use '" ed#f "' instead")))
| ^
ef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDatet_Time);
po| ^pd
own;
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
/usr/local/include/glib-2.0/glib/gtypes.h 656 | #de:578fi:35ne: note: 'GTimeVal' has been explicitly marked deprecated here
G 578LI | tB_ypDEedPRefECATED_TYPE_IN_2_62_FOR(f) G sLItrB_DEPRECATEDuc_Tt YP_GE_TiFOR me(f)
| ^
Val GTimeVal/usr/local/include/glib-2.0/glib/gmacros.h: GLIB_DEPR1329:37:ECA note: TEexpanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
D 1329 | #_TdeYPfiE_neIN G_2LI_6B_D2_FOR(GDateTime);EP
| ^
RECATED_TYPE_/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
FOR(f) G_ 656 | #defineDEPRECATED_FOR(f)
| ^
GLIB/usr/local/include/glib-2.0/glib/gmacros.h:_1277:44DEPRECATED_: Tnote: expanded from macro 'G_DEPRECATED_FOR'
YPE 1277_IN_2_ | #define G62_DEP_FRECATED_ORFOR(f)(f _) _aGLttribuIteB___((__deprDecatEPRECATED_TedYPE_FOR (f)
| ^__("
Us/usr/local/include/glib-2.0/glib/gmacros.h:1329:37e '" #f ": note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
' ins1329 | #define GLtead")))I
| ^B_DEPREC
ATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
dialog.c:72:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
72 | _g_message);
| ^~~~~~~~~~
dialog.c:72:6: note: treat the string as an argument to avoid this
72 | _g_message);
| ^
| "%s",
dialog.c:101:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
101 | _g_message);
| ^~~~~~~~~~
dialog.c:101:6: note: treat the string as an argument to avoid this
101 | _g_message);
| ^
| "%s",
bmh.c:41: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]
41 | table->pat = g_strdup(pat);
| ^~~
/usr/local/include/glib-2.0/glib/gstrfuncs.h:324:38: note: expanded from macro 'g_strdup'
324 | #define g_strdup(x) g_strdup_inline (x)
| ^
/usr/local/include/glib-2.0/glib/gstrfuncs.h:309:30: note: passing argument to parameter 'str' here
309 | g_strdup_inline (const char *str)
| ^
cellrendererebook.c:369:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations]
bmh.c 369 | gdk_pixbuf_u:41:nref(p13: ixbuf)warning: assigning to 'guchar *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign];
| ^
41 | table->/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:167:1: note: 'gdk_pixbuf_unref' has been explicitly marked deprecated here
pat 167 | GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g =_object_unref)
| ^
g_strd/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:343:45: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_0_FOR'
up(pat);
| ^ ~~~~~~~~~~~~~
343 | #define GDK_PIXBUF_DEPRECbmh.c:ATED_IN_2_0_FOR(f) G_DEPRECATED_FOR44:25: warning: (f) _GDKpassing '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]
_P 44 | IXBUF_EXTERN
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
table->length = strlen(pat);
1277 | # | ^~~
define /usr/include/string.hG_DEPRECATED_FOR(f) __attrib:100:28: note: passing argument to parameter here
ute 100 | si__((__deprze_t stecrlen(coated_nst _(c"Uhar *) __pseure;
| ^
'" #f "' instead")))
| ^
cellrendererebook.c:383:15: warning: unused function 'replace_special_char' [-Wunused-function]
383 | static gchar *replace_special_char(gchar *text){
| ^~~~~~~~~~~~~~~~~~~~
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]
125 | m = strlen(pat);
| ^~~
/usr/include/string.h:100:28: note: passing argument to parameter here
100 | size_t strlen(const char *) __pure;
| ^
4 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
6 warnings generated.
4 warnings generated.
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
In file included from dirtree.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from eb.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from dump.c:19:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from ebview.c:35:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from dirtree.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
In file included from eb.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #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 /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
In file included from ebview.c:35:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #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]
18 | #ifndef __PIXMAP_H__
| ^~~~~~~~~~~~
./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'?
19 | #define __MULTI_H__
| ^~~~~~~~~~~
| __PIXMAP_H__
dirtree.c:417:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
417 | 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]
418 | 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]
619 | 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]
620 | g_list_sort(file_list, compare_func);
| ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
eb.c:61:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
61 | gchar *ebook_error_message(error_code)
| ^
eb.c:542:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
542 | g_list_remove(book_list, book_item->data);
| ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
eb.c:681:6: warning: variable 'end_page' set but not used [-Wunused-but-set-variable]
681 | int end_page;
| ^
eb.c:813: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]
813 | euc_p = inbuf;
| ^ ~~~~~
eb.c:814: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]
814 | jis_p = jisbuf = malloc(In file included from ebview.c:50:
./pixmap.h:strlen18:9: (euc_p)*2);
warning: '__PIXMAP_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
| ^~~~~
18 | /usr/include/string.h:100:28: note: passing argument to parameter here
100 | size_t strl#ifennd(const chef __ar *) __pure;
PIX| ^
MAP_H__
| ^~~~~~~~~~~~
./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'?
19 | eb.c:849: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]
# 849 | retudefinern __MUL(jisTIbuf);
| ^~~~~~~~
_H__
| ^~~~~~~~~~~
| __PIXMAP_H__
eb.c:871:6: warning: variable 'page_count' set but not used [-Wunused-but-set-variable]
871 | int page_count=0;
| ^
eb.c:1091: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]
1091 | bmh = bmh_prepare(jisword, TRUE);
| ^~~~~~~
./bmh.h:34:32: note: passing argument to parameter 'pat' here
34 | BMH_TABLE *bmh_prepare(guchar *pat, gboolean ignore_case);
| ^
eb.c:1124: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]
1124 | 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
36 | guchar *bmh_search(BMH_TABLE *table, guchar *text, gint n);
| ^
eb.c:1124: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]
1124 | start_p = bmh_search(bmh, start_p, EB_SIZE_PAGE + word_len - (start_p - data));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eb.c:1057:8: warning: variable 'word_p' set but not used [-Wunused-but-set-variable]
1057 | char *word_p;
| ^
eb.c:1068:6: warning: variable 'page_count' set but not used [-Wunused-but-set-variable]
1068 | int page_count=0;
| ^
eb.c:1423:6: warning: assigning to 'gchar *' (aka 'char *') from 'guchar[65536]' (aka 'unsigned char[65536]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1423 | pp = body;
| ^ ~~~~
eb.c:1449:40: warning: passing 'guchar[65536]' (aka 'unsigned char[65536]') 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]
1449 | rp->data.eb.plain_heading = g_strdup(body);
| ^~~~
/usr/local/include/glib-2.0/glib/gstrfuncs.h:324:38: note: expanded from macro 'g_strdup'
324 | #define g_strdup(x) g_strdup_inline (x)
| ^
/usr/local/include/glib-2.0/glib/gstrfuncs.h:309:30: note: passing argument to parameter 'str' here
309 | g_strdup_inline (const char *str)
| ^
eb.c:1820: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]
1820 | if(iseuc(word)){
| ^~~~
./jcode.h:38:30: note: passing argument to parameter 'buff' here
38 | gboolean iseuc(const guchar *buff);
| ^
eb.c:1967: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]
1967 | (iseuckanji(keywords[0]))){
| ^~~~~~~~~~~
./jcode.h:35:35: note: passing argument to parameter 'buff' here
35 | gboolean iseuckanji(const guchar *buff);
| ^
eb.c:1971: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]
1971 | if(!iseuckanji(&new_key[i])) {
| ^~~~~~~~~~~
./jcode.h:35:35: note: passing argument to parameter 'buff' here
35 | gboolean iseuckanji(const guchar *buff);
| ^
3 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
eb.c:2380: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]
2380 | image_height, image_data, &image_size);
| ^~~~~~~~~~
eb.c:2200:82: note: passing argument to parameter 'xbm' here
2200 | static void ebook_bitmap_to_xbm(const char *bitmap, int width, int height, char *xbm, size_t *xbm_length)
| ^
eb.c:2288:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable]
2288 | EB_Subbook *subbook;
| ^
eb.c:2406: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]
2406 | xpm[i+3] = g_new(guchar, width + 1);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
eb.c:2412: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]
2412 | xpm[i+3] = g_new(guchar, width + 1);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
eb.c:2446:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'gchar *' (aka 'char *') [-Wnon-literal-null-conversion]
2446 | xpm[i+3] = '\0';
| ^~~~
eb.c:2457:10: warning: variable 'image_data' set but not used [-Wunused-but-set-variable]
2457 | guchar *image_data;
| ^
eb.c:2460:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable]
2460 | EB_Subbook *subbook;
| ^
7 warnings generated.
eb.c:2628:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
2628 | static void ebook_bitmap_to_gif(bitmap, width, height, gif, gif_length, fg, bg)
| ^
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
eb.c:2806:22: warning: passing 'guchar[2571]' (aka 'unsigned char[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]
2806 | image_height, image_data, &image_size, fg, bg);
| ^~~~~~~~~~
eb.c:2733:14: warning: variable 'subbook' set but not used [-Wunused-but-set-variable]
2733 | EB_Subbook *subbook;
| ^
eb.c:3099:7: warning: passing 'gint *' (aka 'int *') to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
3099 | &bmp_length);
| ^~~~~~~~~~~
/usr/local/include/eb/font.h:155:24: note: passing argument to parameter 'bmp_length' here
155 | char *bmp, size_t *bmp_length);
| ^
eb.c:852:13: warning: unused function 'ebook_full_search_old' [-Wunused-function]
852 | static gint ebook_full_search_old(BOOK_INFO *binfo, char *word, gint method, gchar *title)
| ^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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 /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:In file included from external.c:18:
In file included from 1267:./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from 37:/usr/local/include/gtk-2.0/gtk/gtkdialog.h:35 note: expanded from macro 'G_DEPRECATED'
:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h 1267 | #define G_DEPREC:36:
ATIn file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:ED __attribute__(35:
In file included from (__depre/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:cated__))
| ^
36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
31 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
In file included from grep.c:24:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from filter.c:19:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
In file included from external.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #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 /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
filter.c:105:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
105 | else if ((*p == ',')){
| ~~~^~~~~~
filter.c:105:16: note: remove extraneous parentheses around the comparison to silence this warning
105 | else if ((*p == ',')){
| ~ ^ ~
filter.c:105:16: note: use '=' to turn this equality comparison into an assignment
105 | else if ((*p == ',')){
| ^~
| =
filter.c:117:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
117 | } else if ((*p == '\0')){
| ~~~^~~~~~~
filter.c:117:18: note: remove extraneous parentheses around the comparison to silence this warning
117 | } else if ((*p == '\0')){
| ~ ^ ~
filter.c:117:18: note: use '=' to turn this equality comparison into an assignment
117 | } else if ((*p == '\0')){
| ^~
| =
filter.c:196:43: warning: passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
196 | if(g_file_get_contents(path, &contents, &length, &error) == FALSE){
| ^~~~~~~
/usr/local/include/glib-2.0/glib/gfileutils.h:122:45: note: passing argument to parameter 'length' here
122 | gsize *length,
| ^
filter.c:231:46: warning: passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
231 | if(g_file_get_contents(outfile, &contents, &length, &error) == FALSE){
| ^~~~~~~
/usr/local/include/glib-2.0/glib/gfileutils.h:122:45: note: passing argument to parameter 'length' here
122 | gsize *length,
| ^
filter.c:301:46: warning: passing 'gint *' (aka 'int *') to parameter of type 'gsize *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
301 | if(g_file_get_contents(outfile, &contents, &length, &error) == FALSE){
| ^~~~~~~
/usr/local/include/glib-2.0/glib/gfileutils.h:122:45: note: passing argument to parameter 'length' here
122 | gsize *length,
| ^
filter.c:405:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
405 | g_list_sort(grep_file_list, compare_func);
| ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
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]
140 | here = simple_search(rp->word, tmp, strlen(tmp), bignore_case);
| ^~~~~~~~
./bmh.h:37:31: note: passing argument to parameter 'pat' here
37 | 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]
140 | here = simple_search(rp->word, tmp, strlen(tmp), bignore_case);
| ^~~
./bmh.h:37:44: note: passing argument to parameter 'text' here
37 | 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]
140 | 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]
218 | code = guess_kanji(max_bytes_to_guess, contents);
| ^~~~~~~~
./jcode.h:39:37: note: passing argument to parameter 'buf' here
39 | 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]
277 | r = bmh_search(bmh[i], p, pp - p);
| ^
./bmh.h:36:46: note: passing argument to parameter 'text' here
36 | 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]
277 | 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]
282 | r = regex_search(reg, p);
| ^
./reg.h:31:46: note: passing argument to parameter 'text' here
31 | 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]
282 | 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]
284 | r = simple_search(word, p, pp - p, bignore_case);
| ^~~~
./bmh.h:37:31: note: passing argument to parameter 'pat' here
37 | 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]
284 | r = simple_search(word, p, pp - p, bignore_case);
| ^
./bmh.h:37:44: note: passing argument to parameter 'text' here
37 | 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]
284 | 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]
297 | r = bmh_search(bmh[i], p, pp - p);
| ^
./bmh.h:36:46: note: passing argument to parameter 'text' here
36 | 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]
297 | 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]
302 | r = regex_search(reg, p);
| ^
./reg.h:31:46: note: passing argument to parameter 'text' here
31 | 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]
302 | 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]
304 | r = simple_search(word, p, pp - p, bignore_case);
| ^~~~
./bmh.h:37:31: note: passing argument to parameter 'pat' here
37 | 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]
304 | r = simple_search(word, p, pp - p, bignore_case);
| ^
./bmh.h:37:44: note: passing argument to parameter 'text' here
37 | 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]
304 | 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]
399 | if((strchr(word, '^') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
400 | (strchr(word, '$') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
401 | (strchr(word, '[') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
404 | (strchr(word, '.') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
405 | (strchr(word, '*') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
406 | (strchr(word, '+') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
407 | (strchr(word, '?') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
408 | (strchr(word, '|') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
409 | (strchr(word, '{') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
410 | (strchr(word, '}') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
412 | (strchr(word, '(') != NULL) ||
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
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]
413 | (strchr(word, ')') != NULL)){
| ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
grep.c:459:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
459 | 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]
471 | 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]
542 | 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]
556 | } else if(includes_meta_char(word) == TRUE){
| ^~~~
grep.c:397:44: note: passing argument to parameter 'word' here
397 | 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]
586 | bmh_euc[j] = bmh_prepare(keywords[i], bignore_case);
| ^~~~~~~~~~~
./bmh.h:34:32: note: passing argument to parameter 'pat' here
34 | 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]
588 | bmh_sjis[j] = bmh_prepare(sjis_word, bignore_case);
| ^~~~~~~~~
./bmh.h:34:32: note: passing argument to parameter 'pat' here
34 | 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]
596 | reg_euc = regex_prepare(l_word, bignore_case);
| ^~~~~~
./reg.h:29:34: note: passing argument to parameter 'pat' here
29 | 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]
598 | reg_sjis = regex_prepare(sjis_word, bignore_case);
| ^~~~~~~~~
./reg.h:29:34: note: passing argument to parameter 'pat' here
29 | REG_TABLE *regex_prepare(guchar *pat, gboolean ignore_case);
| ^
8 warnings generated.
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]
699 | code = guess_kanji(max_bytes_to_guess, contents);
| ^~~~~~~~
./jcode.h:39:37: note: passing argument to parameter 'buf' here
39 | gint guess_kanji(gint imax, guchar *buf);
| ^
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
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]
815 | if((includes_meta_char(rp->word) == TRUE) ||
| ^~~~~~~~
grep.c:397:44: note: passing argument to parameter 'word' here
397 | 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]
835 | r = simple_search(keywords[i], (guchar *)p, strlen(p), bignore_case);
| ^~~~~~~~~~~
./bmh.h:37:31: note: passing argument to parameter 'pat' here
37 | 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]
835 | r = simple_search(keywords[i], (guchar *)p, strlen(p), bignore_case);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
In file included from headword.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from headword.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
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]
18 | #ifndef __PIXMAP_H__
| ^~~~~~~~~~~~
./pixmap.h:19:9: note: '__MULTI_H__' is defined here; did you mean '__PIXMAP_H__'?
19 | #define __MULTI_H__
| ^~~~~~~~~~~
| __PIXMAP_H__
In file included from history.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
In file included from hook.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
3 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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 history.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
In file included from hook.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
hook.c:180:22: warning: unused function 'hook_nop' [-Wunused-function]
180 | 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]
185 | 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]
247 | 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]
233 | 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]
657 | 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]
550 | 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)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from jcode.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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
8 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -I/usr/local/include/pixman-1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 -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 jcode.c:18:
In file included from ./defs.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
jcode.c:41:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
41 | "V", "VI", "VII", "VIII", "IX", "X", NULL, "ߥ", // 13-25 - 32
| ^~~~ ~~~~
jcode.c:42:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~~~~~~~~~~~~~
jcode.c:42:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~~~~~~~~~~~~~~~~~~~~~
jcode.c:42:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~ ~~~~ ~~~~
jcode.c:42:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~~~~~~~~~~~~~~~~~~~~~
jcode.c:42:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~ ~~~~
jcode.c:42:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "", "ȥ", "", "ȥ", "", "إ", "åȥ", // 13-33 - 40
| ^~~~~~~~~~~~~~~~~~~~~~~~
jcode.c:42:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
42 | "", "
MidnightBSD Magus