japanese/ebview-gtk2
Electronic Book Viewer
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.3.6_20 | 637 | 4.0 | i386 | gpl2+ | 0 | fail |
License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4032 | info | 2026-05-14 17:42:17.948844 | Test Started |
| m4032 | fail | 2026-05-14 17:44:08.018989 | make build returned non-zero: 1 |
| m4032 | fail | 2026-05-14 17:44:08.096902 | 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
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
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 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 (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 dictbar.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 | voIn file included from dump.c:id 19:
In file included from ./defs.h:32In file included from :
In file included from dialog.c:/usr/local/include/gtk-2.0/gtk/gtk.h: 19In file included from dirtree.c:18:
:
In file included from ./defs.h:32 In file included from ./defs.h:32:
In file included from In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:bmh.c:
33:
In file included from :In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h18:
:/usr/local/include/gtk-2.0/gtk/gtk.hIn file included from 32:33:
./defs.h:
In file included from 33In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h::32/usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h::
32:
In file included from :
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:/usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:gt35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:k_t36:
In file included from 35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.hype/usr/local/include/gtk-2.0/gtk/gtkbin.h:36:
In file included from _i:/usr/local/include/gtk-2.0/gtk/gtkdialog.h35:35:
/usr/local/include/gtk-2.0/gtk/gtkbin.h:nit:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.hIn 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 3535:
(GT:
In file included from yp/usr/local/include/gtk-2.0/gtk/gtkwidget.h:eD36:
eIn file included from In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:bugF37/usr/local/include/gtk-2.0/gtk/gtkcontainer.hlags :
/usr/local/include/gtk-2.0/gtk/gtktypeutils.hdeb/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:ug_fla32gs:);:
In file included from
| 236:34 ^
/usr/local/include/gtk-2.0/gtk/gtkdialog.hIn file included from /usr/local/include/glib-2.0/gobject/gtype.h:731::19: :35:
note: In file included from 'GTypeDebugFlags' has been explicitly marked deprecated hereeb.c:
18:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36 ./defs.h: 731 | }warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
GT:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35ype 236Debu | voi32:
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 35/usr/local/include/gtk-2.0/gtk/gtkwindow.h:
:In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:3636:
:
In file included from In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h/usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
:
In file included from :37:
/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35/usr/local/include/gtk-2.0/gtk/gtktypeutils.hIn file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35In file included from ebview.c::
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:236g:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.hFlag35:
:s 37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.hGIn file included from ./defs.h:::23632:
:34: In file included from warning: /usr/local/include/gtk-2.0/gtk/gtk.h'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
:3334:
:In file included from warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
OBJECT 236_D | voidEPR 236ECA | /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.hv:oid T 32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h : 35 :
In file included from g/usr/local/include/gtk-2.0/gtk/gtkwindow.h:tEk_t36:
D_T:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.hyYPpe_i:nitIn file included from E_IN_236_36;/usr/local/include/gtk-2.0/gtk/gtkbin.h
: 35:
In file included from | ^ (/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:GTy
peDebu/usr/local/include/glib-2.0/gobject/gobject-visibility.hgF:
lags d35:
:213:41In file included from :ebuIn file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.hg_flags);: note:
36:
| ^
expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:/usr/local/include/glib-2.0/gobject/gtype.h:731:1937
:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h: :236:34: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
731 | } GT213ype /usr/local/include/gtk-2.0/gtk/gtkobject.h:236Debu | v37gFl | agso#defiid nGe 35GOOBJBJEECCTT_DE _DE:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h PR:PECRECATED_TYATE36PE_D_T:
IYNPIn file included from /usr/local/include/gtk-2.0/gtk/gtkobject.hE_ :372 _ _IN36;
_ 2 _3 6 gtk| ^
GLd_ty:
p :
e_inIit /usr/local/include/gtk-2.0/gtk/gtktypeutils.h :(GTy236:34 :p e/usr/local/include/gtk-2.0/gtk/gtktypeutils.h :236:Debugwarning: gt'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
Bk_t 236yp | e_v_oidi DEP REnit 34CA: TEDFwarning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]/usr/local/include/glib-2.0/gobject/gobject-visibility.h
: (GTyp 236 eD gebt | void 213 : 41: g unote: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
t 213k_ | #g_Flagdt yp gtks _tyTef pe _inined GOYPiBJtebuECET_D
E P R(GTe_ype| ^
Dei/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'g_nit (ECGTybupe
DebugFlaggFlATs EDfl_ag s daebgs)u;
g | ^
_fl/usr/local/include/glib-2.0/gobject/gtype.h:731:19ags);
| ^
: 1328 debnote: l | a'GTypeDebugFlags' has been explicitly marked deprecated here#
ugsg /usr/local/include/glib-2.0/gobject/gtype.h _ :731fla:gs);d e
db | ^19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
efin/usr/local/include/glib-2.0/gobject/gtype.h: 731731e | } G GLTy | ug731p:TeDeb}19I Y:B note: 'GTypeDebugFlags' has been explicitly marked deprecated hereGTyP
peD _731 | } eGbug_flaEgs_);
ITyNpDFl_EePag2DesbR _36 GLIBGOBJ_EugEDCTEPCAF_DlTEaERPgEDsRCA GTO_EDECBTYJATEEDCT_PE_T _G_DDEPERECAPREugTYCYPPEAFl_TTEIN_EDDE
| ^ | _2_ | ^k
_
t/usr/local/include/glib-2.0/glib/gmacros.h36;y:
| ^
pe1328/usr/local/include/glib-2.0/gobject/gtype.h:/usr/local/include/glib-2.0/gobject/gobject-visibility.h:_ ^
30: note: 213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'in
TYexpanded from macro 'GLIB_DEPRECATED_TYPE'
213 | i:731:t19: #def P1328E | #note: in'GTypeDebugFlags' has been explicitly marked deprecated here
e GdOB 731(GT | } ypeDeefin_GTypJEaC/usr/local/include/glib-2.0/glib/gmacros.heDebT_ugFbDElauggs : F1267:37: note: expanded from macro 'G_DEPRECATED'
de 1267bu | g_la#dflages GLIgefiB);sne
G | _DPEP R ^E
C/usr/local/include/glib-2.0/gobject/gtype.h:731GO:19R: note: EC'GTypeDebugFlags' has been explicitly marked deprecated here
BA 731ATED_TED_ | } TYGTyTpePE_DI_DN_YJEPE G2_3ebuCT6 g_DEFlPGLaIB_EPRECATEDERD gP__sattREECCAT ED_GATETrD_ibYPuOTYPEtBeJE_
_(EC_I(T_ND_2 | E__ ^3_d_D6
E;PRECPR
| /usr/local/include/glib-2.0/glib/gmacros.hE ^
CAATTE/usr/local/include/glib-2.0/gobject/gobject-visibility.hD:213:41epr:1328_:30ecated:E: T_YD
| PE_IN_2__) ^)
3
/usr/local/include/glib-2.0/glib/gmacros.h note: :expanded from macro 'GLIB_DEPRECATED_TYPE'6
1267 | :1328 | 37 ^#de:
note: ;
| ^
fexpanded from macro 'G_DEPRECATED'
in 1267e G/usr/local/include/glib-2.0/gobject/gobject-visibility.h:L213IB_:DEPRE41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
| C# 213dnote: eexpanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' |
#deffiine 213 | n#edefin GOAeG GBJTE_OEDCEPBRDTJ__ECTTYPE EGCAT__DEDEPPRED D_E_PREaCATEtDECAR
TEEDtrib | C ^_TuYPtE
_I/usr/local/include/glib-2.0/glib/gmacros.h:1267NA:T37_2_ED_T:e Y3note: _PE_IN_2_636 GLI_((B_DEPI__dN_ep2 _GLI3RECArBecaT_Et6;eD_TdDEP
_expanded from macro 'G_DEPRECATED'
_RYP| ))E
E ^
| ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h
:213:1267 | | gs#d ^CATEDe
GOBfine 41: Jnote: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'G__
ETYPE
| 213C ^T | #dD_DEEefPRinECe
GOA/usr/local/include/glib-2.0/glib/gmacros.h:BJETED1328:CT__30TDEPRECAYPTEDE__TIN_2: YPE_36note: expanded from macro 'GLIB_DEPRECATED_TYPE'
; 1328/usr/local/include/glib-2.0/glib/gmacros.h:
1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' | _I ^
N_2
_3 1328 | #define GLIB_DE | #6dPRECATEefiD_PR/usr/local/include/glib-2.0/gobject/gobject-visibility.h GL:T213:InB_eD EPRECA41: YGLIB_note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'TDED_TPE G_DEPRECATED
YP
E| ^
| ^213
| E/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
1267 | #d/usr/local/include/glib-2.0/glib/gmacros.h:#defin1328:30eefi: nePR G_ECnote: ATDEDEPexpanded from macro 'GLIB_DEPRECATED_TYPE'E_TY CPEAT
E 1328G | D __aO#BJECdTt G_etD_RfDEPRrEibuCATED ECATEDit_e_at
| tr ^
E/usr/local/include/glib-2.0/glib/gmacros.hPinbute_eR_ECA:__((_ G1267(_d(eLpre_cIB__depaDEt:37: redTeEcP_a_))R
t | ^
De_TYPE_dIN__2_36_ )GL)
note: | expanded from macro 'G_DEPRECATED'I
B ^_D
EPREC E1267 | #dCATEDeAT_TYEfPE
ineD G__TDE | ^YPRE
C/usr/local/include/glib-2.0/glib/gmacros.h:1328PAE:30: G note: _expanded from macro 'GLIB_DEPRECATED_TYPE'
DE 1328 | P#defineRECATED
TE GLD IB__ at| _DE ^
P/usr/local/include/glib-2.0/glib/gmacros.htri:bRECATED_1267:37TYP: E Gnote: expanded from macro 'G_DEPRECATED'_DE
P R1267 | #ECATute__ED
| d ^
ef/usr/local/include/glib-2.0/glib/gmacros.hi:ne1267:37: note: expanded from macro 'G_DEPRECATED'
G( 1267(_ | #_depdefinere_ G_DEPcateDRd__)EEC)
ATED __ | PatREtriCATbE ^
Du te__(__attri(__dbeute__((p_recate_deprecated__))
d__))
| ^
| ^
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)
| ^
/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 dictbar.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 bmh.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 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 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 lIn file included from dirtree.c:as18:
In file included from t_./defs.h:32pop:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.hdow:126:
n;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/usr/local/include/glib-2.0/glib/gtypes.h::73:578:353: : note: 'GTimeVal' has been explicitly marked deprecated here
warning: 578'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
| ty 73 | pedef struct GT _imeGTVal laimst_poeVpdoalwn;
G| ^
TimeVal GLI/usr/local/include/glib-2.0/glib/gtypes.h:578:B_35: DEnote: 'GTimeVal' has been explicitly marked deprecated here
PREC 578 | ATtypedEDef st_Truct _YPGTE_IimN_2eV_6al 2_GTFOimeVal GR(LIB_DGDEPRatECATeTEDime_T);YP
E_| ^IN_
2_62_FOR(/usr/local/include/glib-2.0/glib/glib-visibility.h:GDateTi656:45me: );note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
| ^ 656
| #define G/usr/local/include/glib-2.0/glib/glib-visibility.h:LI656:B_D45: EPnote: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
RECATE 656 | #D_deTYfiPEne_IN_ G2_62LI_FB_DEORPR(f)ECA GTEDLIB_T_DYPE_IN_EPR2_62EC_FATEORD_(f)TY GPE_LIBFO_DEPR RE(f)
| ^CAT
ED_T/usr/local/include/glib-2.0/glib/gmacros.h:YPE1329:_F37:OR note: (fexpanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
)
1329 | | #d ^
e/usr/local/include/glib-2.0/glib/gmacros.h:fi1329:ne 37:GL note: IBexpanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
_D 1329 | EP#deREfinCAe TEGLID_B_DTYPEPE_FRECORAT(fED) G__DTYPE_EPRFOECR(ATfED) G__FODR(EPRECATfEIn file included from )
| ^
eb.c/usr/local/include/glib-2.0/glib/gmacros.h:1277D_::44:F 18:
In file included from ./defs.hOR(fnote: )expanded from macro 'G_DEPRECATED_FOR'
| ^ :32
1277/usr/local/include/glib-2.0/glib/gmacros.h: | #:
1277dIn file included from /usr/local/include/gtk-2.0/gtk/gtk.h:e:fi44ne G: note: _DEexpanded from macro 'G_DEPRECATED_FOR'
PR126:
In file included from ECATED_FOR(f) __attribute__((_1277 | _depreca/usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
ted__#deIn 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("Use '" #f "' instefiad")))
| ^
:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3ne: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
G _D73EP | RECA GTiTEDmeVal_F OR(flast_pop) d__aown;
tt| ribu ^
te__((__dep/usr/local/include/glib-2.0/glib/gtypes.hre:ca578te:d_35_(:"U senote: ''GTimeVal' has been explicitly marked deprecated here
" #578f | "'t iypedef struct _GTinsmeVal GTimteeVal GLIBad"_DEP))R)
E | ^
CATED_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")))
| ^
cellrendererebook.c:369:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations]
369 | gdk_pixbuf_unref(pixbuf);
| ^
/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
167 | GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(g_object_unref)
| ^
/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'
343 | #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
| ^
/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")))
| ^
cellrendererebook.c:383:15: warning: unused function 'replace_special_char' [-Wunused-function]
383 | static gchar *replace_special_char(gchar *text){
| ^~~~~~~~~~~~~~~~~~~~
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)
| ^
bmh.c:41:13: 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->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]
44 | table->length = strlen(pat);
| ^~~
/usr/include/string.h:100:28: note: passing argument to parameter here
100 | size_t strlen(const char *) __pure;
| ^
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;
| ^
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",
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__
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)
| ^
In file included from ebview.c:50:
./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: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(strlen(euc_p)*2);
| ^~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
100 | size_t strlen(const char *) __pure;
| ^
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 | return(jisbuf);
| ^~~~~~~~
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);
| ^
4 warnings generated.
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;
| 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
^
3 warnings generated.
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_stif 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
rdup(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)
| ^
6 warnings generated.
4 warnings generated.
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 | iif 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
f(iseuc(word)){
| ^~~~
./jcode.h:38:30: note: passing argument to parameter 'buff' here
38 | gboolean iseuc(const guchar *buff);
| ^
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
2 warnings generated.
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);
| ^
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
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;
| ^
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)
| ^
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);
| ^
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 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
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)
| ^~~~~~~~~~~~~~~~~~~~~
7 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 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 external.cIn file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:18:35:
In file included from :
In file included from ./defs.h:/usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.hIn file included from /usr/local/include/gtk-2.0/gtk/gtk.h:36:
In file included from :33/usr/local/include/gtk-2.0/gtk/gtkobject.h::
In file included from 37:
/usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:32:
236:In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
: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: 236 | 35:
void gIn file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.htk_type_init (GTypeDebugFlags debug_flags);
| ^
:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
/usr/local/include/gtk-2.0/gtk/gtkobject.h 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeTDeYPbuE_gIN_2_36;
| ^
Flags deb/usr/local/include/glib-2.0/gobject/gobject-visibility.hug_flags);
| ^
:213:/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
41 731 | } GTypeDe: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
b 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
| ^
ugF/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
lags GOBJEC 1328 | #define GLIB_DEPRECATETD__TYPE G_DEPRECATEDD
| ^
EPRECATED_TYPE_IN/usr/local/include/glib-2.0/glib/gmacros.h:_2_36;
| ^
1267:37: note: expanded from macro 'G_DEPRECATED'
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
1267 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECAT | #defineED_ G_DEPRECATED __attribute__((__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: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 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 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_DEPRE31 warningCATED_TYPE_Is generated.
N_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__))
| ^
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 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__))
| ^
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:30In file included from external.c:18:
In file included from ./defs.h:
In file included from :32/usr/local/include/gtk-2.0/gtk/gtktoolitem.h::
In file included from 31:
/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:126:
3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
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 73 | /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:GTim73:eV3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
al 73 | GTimeVal llastast_popdown;
| ^
_popdown;/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
| 578 | typed ^
ef struc/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
t _GTimeVal GTimeVal GLIB_DEPRECATED_TYP 578 | typedef struct _GTimeVal GTimE_IN_2_62_FOR(GDateTime);eVal
| 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'
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: 656 | note: #expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
d 656 | #definee GLIB_DfineEPR GLIB_DECATEPRECAED_TYPTED_TYPE_E_IN_2_6I2_NFOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
| ^
_/usr/local/include/glib-2.0/glib/gmacros.h:1329:2_62_FOR(f) GLIB_DEP37: RECATED_TYPE_FOR (f)
note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
1329 | #define GL| ^
IB_DEPRECA/usr/local/include/glib-2.0/glib/gmacros.h:TED_T1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
Y 1329PE_ | #dFOR(f) G_DEPRECATED_FOR(f)
| efine GLIB_DEPRECATED_ ^
TYPE/usr/local/include/glib-2.0/glib/gmacros.h:1277:_44: FOR(note: expanded from macro 'G_DEPRECATED_FOR'f)
G_ 1277DEPRECAT | #define G_DEPREED_CATED_FOR(f)FOR( __atf)trib
| ^
u/usr/local/include/glib-2.0/glib/gmacros.ht:1277e:44_:_( note: (expanded from macro 'G_DEPRECATED_FOR'_
_dep re1277c | at#define ed__(G_DEPRECATED_FOR"Use '" #f "' instead")))
| ^
(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
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 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")))
| ^
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_DEPREIn file included from hook.c:18:
In file included from ./defs.h:32:
In file included from CA/usr/local/include/gtk-2.0/gtk/gtk.h:126:
TED_FOR(f)
| ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: 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:expanded from macro 'G_DEPRECATED_FOR'
30:
In file included from 1277/usr/local/include/gtk-2.0/gtk/gtktoolitem.h: | #31:
de/usr/local/include/gtk-2.0/gtk/gtktooltips.h:fine G73:_DEPRECATED_F3:OR(f) warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
_ 73 | GTimeVal last_popdown;
| ^
_attribute__((__deprecated__("Use '" #f/usr/local/include/glib-2.0/glib/gtypes.h "' ins:te578a:d35:" 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,
| ^
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")))
| ^
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);
| ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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__
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]
2 warnings generated.
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);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
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);
| ^
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);
| ^
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);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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)
| ^~~~~~~~~~~~~~~~~~~~~~
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
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