>>> Building on exopi-4 under graphics/pho BDEPENDS = [devel/gmake;x11/gtk+2] DIST = [graphics/pho:pho-1.0.tar.gz] FULLPKGNAME = pho-1.0 RDEPENDS = [x11/gtk+2] (Junk lock obtained for exopi-4 at 1764773470.54) >>> Running depends in graphics/pho at 1764773470.59 last junk was in games/fs2open /usr/sbin/pkg_add -aI -Drepair gtk+2-2.24.33p7 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 gtk+2-2.24.33p7 /usr/sbin/pkg_add -aI -Drepair gtk+2-2.24.33p7 >>> Running show-prepare-results in graphics/pho at 1764773473.08 ===> graphics/pho ===> Building from scratch pho-1.0 ===> pho-1.0 depends on: gmake-* -> gmake-4.4.1p0 ===> pho-1.0 depends on: gtk+2-* -> gtk+2-2.24.33p7 ===> Verifying specs: X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 iconv intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread z harfbuzz ===> found X11.19.0 Xcomposite.4.0 Xcursor.5.1 Xdamage.4.0 Xext.13.0 Xfixes.6.1 Xi.12.2 Xinerama.6.0 Xrandr.7.1 Xrender.6.0 atk-1.0.21810.4 c.102.2 cairo.13.5 fontconfig.14.1 freetype.31.1 gdk-x11-2.0.2400.0 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.22 glib-2.0.4201.15 gobject-2.0.4200.22 gtk-x11-2.0.2400.0 iconv.7.1 intl.8.1 m.10.1 pango-1.0.3801.7 pangocairo-1.0.3801.4 pangoft2-1.0.3801.4 pthread.28.1 z.7.1 harfbuzz.18.20 gmake-4.4.1p0 gtk+2-2.24.33p7 (Junk lock released for exopi-4 at 1764773473.67) Woken up graphics/libjxl distfiles size=133353 >>> Running build in graphics/pho at 1764773473.73 ===> graphics/pho ===> Checking files for pho-1.0 `/exopi-cvs/ports/distfiles/pho-1.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for pho-1.0 ===> Patching for pho-1.0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 57. done ===> Applying OpenBSD patch patch-exif_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- exif/Makefile.orig Fri Dec 20 16:54:45 2013 |+++ exif/Makefile Fri Dec 20 16:55:03 2013 -------------------------- Patching file exif/Makefile using Plan A... Hunk #1 succeeded at 2. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for pho-1.0 ===> Configuring for pho-1.0 ===> Building for pho-1.0 (cd exif && gmake) gmake[1]: Entering directory '/exopi-obj/pobj/pho-1.0/pho/exif' cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -Wall -I../include -c -o jhead.o jhead.c cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -Wall -I../include -c -o jpgfile.o jpgfile.c cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -Wall -I../include -c -o exif.o exif.c cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -Wall -I../include -c -o phoexif.o phoexif.c In file included from phoexif.c:10: ./phoexif.h:64:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | extern int HasExif(); | ^ | void 1 warning generated. ar cr libphoexif.a jhead.o jpgfile.o exif.o phoexif.o ranlib libphoexif.a gmake[1]: Leaving directory '/exopi-obj/pobj/pho-1.0/pho/exif' cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o pho.o pho.c In file included from pho.c:9: In file included from ./pho.h:13: 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 pho.c:9: In file included from ./pho.h:13: 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 pho.c:9: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from pho.c:9: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void In file included from pho.c:10: ./dialogs.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | extern void ToggleInfo(); | ^ | void ./dialogs.h:14:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 14 | extern void UpdateInfoDialog(); | ^ | void ./dialogs.h:19:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | extern void InitKeywords(); | ^ | void ./dialogs.h:20:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void ShowKeywordsDialog(); | ^ | void ./dialogs.h:21:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void HideKeywordsDialog(); | ^ | void ./dialogs.h:22:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 22 | extern void UpdateKeywordsDialog(); | ^ | void ./dialogs.h:23:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 23 | extern void RememberKeywords(); | ^ | void ./dialogs.h:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | extern void NoCurrentKeywords(); /* use when deleting current image */ | ^ | void In file included from pho.c:11: ./exif/phoexif.h:64:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | extern int HasExif(); | ^ | void pho.c:63:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 63 | int ShowImage() | ^ | void pho.c:158:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 158 | int ThisImage() | ^ | void pho.c:170:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 170 | int NextImage() | ^ | void pho.c:214:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 214 | int PrevImage() | ^ | void pho.c:249:13: warning: variable 'new_w' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 249 | if (xratio > 1. || yratio > 1.) { /* need some scaling */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pho.c:295:14: note: uninitialized use occurs here 295 | *width = new_w * scaleRatio; | ^~~~~ pho.c:249:9: note: remove the 'if' if its condition is always true 249 | if (xratio > 1. || yratio > 1.) { /* need some scaling */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho.c:242:14: note: initialize the variable 'new_w' to silence this warning 242 | int new_w, new_h; | ^ | = 0 pho.c:249:13: warning: variable 'new_h' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 249 | if (xratio > 1. || yratio > 1.) { /* need some scaling */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pho.c:296:15: note: uninitialized use occurs here 296 | *height = new_h * scaleRatio; | ^~~~~ pho.c:249:9: note: remove the 'if' if its condition is always true 249 | if (xratio > 1. || yratio > 1.) { /* need some scaling */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho.c:242:21: note: initialize the variable 'new_h' to silence this warning 242 | int new_w, new_h; | ^ | = 0 pho.c:720:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 720 | void Usage() | ^ | void pho.c:739:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 739 | void VerboseHelp() | ^ | void 37 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o gmain.o gmain.c In file included from gmain.c:9: In file included from ./pho.h:13: 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 gmain.c:9: In file included from ./pho.h:13: 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 gmain.c:9: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from gmain.c:9: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void In file included from gmain.c:10: ./dialogs.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | extern void ToggleInfo(); | ^ | void ./dialogs.h:14:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 14 | extern void UpdateInfoDialog(); | ^ | void ./dialogs.h:19:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | extern void InitKeywords(); | ^ | void ./dialogs.h:20:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void ShowKeywordsDialog(); | ^ | void ./dialogs.h:21:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void HideKeywordsDialog(); | ^ | void ./dialogs.h:22:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 22 | extern void UpdateKeywordsDialog(); | ^ | void ./dialogs.h:23:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 23 | extern void RememberKeywords(); | ^ | void ./dialogs.h:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | extern void NoCurrentKeywords(); /* use when deleting current image */ | ^ | void In file included from gmain.c:11: ./exif/phoexif.h:64:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | extern int HasExif(); | ^ | void gmain.c:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | static void RunPhoCommand() | ^ | void In file included from gmain.c:9: ./pho.h:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | extern gint HandleGlobalKeys(); | ^ gmain.c:119:6: note: conflicting prototype is here 119 | gint HandleGlobalKeys(GtkWidget* widget, GdkEventKey* event) | ^ 31 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o phoimglist.o phoimglist.c In file included from phoimglist.c:18: In file included from ./pho.h:13: 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 phoimglist.c:18: In file included from ./pho.h:13: 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 phoimglist.c:18: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from phoimglist.c:18: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void phoimglist.c:30:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 30 | static void printImageList() | ^ | void phoimglist.c:131:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 131 | void ClearImageList() | ^ | void 22 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o gwin.o gwin.c In file included from gwin.c:9: In file included from ./pho.h:13: 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 gwin.c:9: In file included from ./pho.h:13: 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 gwin.c:9: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from gwin.c:9: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void In file included from gwin.c:10: ./dialogs.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | extern void ToggleInfo(); | ^ | void ./dialogs.h:14:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 14 | extern void UpdateInfoDialog(); | ^ | void ./dialogs.h:19:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | extern void InitKeywords(); | ^ | void ./dialogs.h:20:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void ShowKeywordsDialog(); | ^ | void ./dialogs.h:21:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void HideKeywordsDialog(); | ^ | void ./dialogs.h:22:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 22 | extern void UpdateKeywordsDialog(); | ^ | void ./dialogs.h:23:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 23 | extern void RememberKeywords(); | ^ | void ./dialogs.h:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | extern void NoCurrentKeywords(); /* use when deleting current image */ | ^ | void In file included from gwin.c:11: ./exif/phoexif.h:64:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | extern int HasExif(); | ^ | void gwin.c:53:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 53 | static void NewWindow(); /* forward */ | ^ | void gwin.c:90:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | static void AdjustScreenSize() | ^ | void gwin.c:138:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 138 | static void MaybeMove() | ^ | void gwin.c:184:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 184 | double FracOfScreenSize() { | ^ | void gwin.c:288:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 288 | void DrawImage() | ^ | void gwin.c:405:31: warning: passing arguments to 'ShowKeywordsDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | ShowKeywordsDialog(gCurImage); | ^ gwin.c:415:21: warning: passing arguments to 'UpdateInfoDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | UpdateInfoDialog(gCurImage); | ^ gwin.c:564:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 564 | void EndSession() | ^ | void gwin.c:587:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 587 | static void NewWindow() | ^ | void gwin.c:691:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 691 | void PrepareWindow() | ^ | void 39 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o imagenote.o imagenote.c In file included from imagenote.c:8: In file included from ./pho.h:13: 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 imagenote.c:8: In file included from ./pho.h:13: 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 imagenote.c:8: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from imagenote.c:8: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void imagenote.c:20:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | void InitNotes() | ^ | void imagenote.c:105:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 105 | static int GlobalCaptionFile() | ^ | void imagenote.c:254:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 254 | void PrintNotes() | ^ | void 23 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o gdialogs.o gdialogs.c In file included from gdialogs.c:8: In file included from ./pho.h:13: 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 gdialogs.c:8: In file included from ./pho.h:13: 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 gdialogs.c:8: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from gdialogs.c:8: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void In file included from gdialogs.c:9: ./dialogs.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | extern void ToggleInfo(); | ^ | void ./dialogs.h:14:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 14 | extern void UpdateInfoDialog(); | ^ | void ./dialogs.h:19:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | extern void InitKeywords(); | ^ | void ./dialogs.h:20:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void ShowKeywordsDialog(); | ^ | void ./dialogs.h:21:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void HideKeywordsDialog(); | ^ | void ./dialogs.h:22:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 22 | extern void UpdateKeywordsDialog(); | ^ | void ./dialogs.h:23:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 23 | extern void RememberKeywords(); | ^ | void ./dialogs.h:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | extern void NoCurrentKeywords(); /* use when deleting current image */ | ^ | void In file included from gdialogs.c:10: ./exif/phoexif.h:64:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | extern int HasExif(); | ^ | void gdialogs.c:57:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 57 | static void UpdateImage() | ^ | void gdialogs.c:80:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | static void PopdownInfoDialog() | ^ | void gdialogs.c:94:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 94 | void UpdateInfoDialog() | ^ | void gdialogs.c:165:16: warning: passing arguments to 'HasExif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (HasExif(gCurImage)) | ^ gdialogs.c:190:31: warning: too many arguments in call to 'UpdateInfoDialog' 190 | UpdateInfoDialog(gCurImage); | ~~~~~~~~~~~~~~~~ ^ gdialogs.c:190:21: warning: passing arguments to 'UpdateInfoDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | UpdateInfoDialog(gCurImage); | ^ gdialogs.c:213:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 213 | if (! event->state & GDK_SHIFT_MASK) | ^ ~ gdialogs.c:213:9: note: add parentheses after the '!' to evaluate the bitwise operator first 213 | if (! event->state & GDK_SHIFT_MASK) | ^ | ( ) gdialogs.c:213:9: note: add parentheses around left hand side expression to silence this warning 213 | if (! event->state & GDK_SHIFT_MASK) | ^ | ( ) gdialogs.c:216:28: warning: passing arguments to 'HandleGlobalKeys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | return HandleGlobalKeys(widget, event); | ^ gdialogs.c:221:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | void ToggleInfo() | ^ | void gdialogs.c:237:39: warning: too many arguments in call to 'UpdateInfoDialog' 237 | UpdateInfoDialog(gCurImage); | ~~~~~~~~~~~~~~~~ ^ gdialogs.c:237:29: warning: passing arguments to 'UpdateInfoDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | UpdateInfoDialog(gCurImage); | ^ gdialogs.c:377:31: warning: too many arguments in call to 'UpdateInfoDialog' 377 | UpdateInfoDialog(gCurImage); | ~~~~~~~~~~~~~~~~ ^ gdialogs.c:377:21: warning: passing arguments to 'UpdateInfoDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | UpdateInfoDialog(gCurImage); | ^ gdialogs.c:543:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 543 | void ChangeWorkingFileSet() | ^ | void gdialogs.c:555:45: warning: Deprecated pre-processor symbol: replace with "g_path_get_dirname" [-W#pragma-messages] 555 | g_dirname(gCurImage->filename)); | ^ /usr/local/include/glib-2.0/glib/gfileutils.h:208:38: note: expanded from macro 'g_dirname' 208 | #define g_dirname g_path_get_dirname GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_path_get_dirname) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :7:6: note: expanded from here 7 | GCC warning "Deprecated pre-processor symbol: replace with \"g_path_get_dirname\"" | ^ 44 warnings generated. cc -O2 -pipe -Wall -pedantic -DVERSION='"1.0"' -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/X11R6/include -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -c -o keydialog.o keydialog.c In file included from keydialog.c:8: In file included from ./pho.h:13: 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 keydialog.c:8: In file included from ./pho.h:13: 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 keydialog.c:8: In file included from ./pho.h:13: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void In file included from keydialog.c:8: ./pho.h:115:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | extern double FracOfScreenSize(); | ^ | void ./pho.h:120:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 120 | extern void ClearImageList(); | ^ | void ./pho.h:145:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 145 | extern void PrepareWindow(); | ^ | void ./pho.h:146:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 146 | extern void DrawImage(); | ^ | void ./pho.h:151:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 151 | extern void ClearImageList(); | ^ | void ./pho.h:152:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | extern void ChangeWorkingFileSet(); | ^ | void ./pho.h:153:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | extern void ToggleKeywordsMode(); | ^ | void ./pho.h:155:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 155 | extern void Usage(); | ^ | void ./pho.h:156:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 156 | extern void VerboseHelp(); | ^ | void ./pho.h:157:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | extern void EndSession(); | ^ | void ./pho.h:159:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 159 | extern int NextImage(); | ^ | void ./pho.h:160:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 160 | extern int PrevImage(); | ^ | void ./pho.h:161:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | extern int ThisImage(); | ^ | void ./pho.h:162:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 162 | extern int ShowImage(); | ^ | void ./pho.h:165:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 165 | extern void InitNotes(); | ^ | void ./pho.h:166:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | extern void PrintNotes(); | ^ | void ./pho.h:169:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 169 | extern gint HandleGlobalKeys(); | ^ | void In file included from keydialog.c:9: ./dialogs.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | extern void ToggleInfo(); | ^ | void ./dialogs.h:14:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 14 | extern void UpdateInfoDialog(); | ^ | void ./dialogs.h:19:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | extern void InitKeywords(); | ^ | void ./dialogs.h:20:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | extern void ShowKeywordsDialog(); | ^ | void ./dialogs.h:21:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void HideKeywordsDialog(); | ^ | void ./dialogs.h:22:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 22 | extern void UpdateKeywordsDialog(); | ^ | void ./dialogs.h:23:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 23 | extern void RememberKeywords(); | ^ | void ./dialogs.h:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | extern void NoCurrentKeywords(); /* use when deleting current image */ | ^ | void keydialog.c:25:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 25 | static void LeaveKeywordsMode() | ^ | void keydialog.c:30:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 30 | void ToggleKeywordsMode() | ^ | void keydialog.c:41:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void RememberKeywords() | ^ | void keydialog.c:68:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void NoCurrentKeywords() | ^ | void keydialog.c:80:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 80 | void UpdateKeywordsDialog() | ^ | void keydialog.c:116:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 116 | static void AddNewKeywordField(); | ^ | void keydialog.c:164:28: warning: passing arguments to 'HandleGlobalKeys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | return HandleGlobalKeys(widget, event); | ^ keydialog.c:168:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 168 | static void AddNewKeywordField() | ^ | void keydialog.c:210:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 210 | static void MakeNewKeywordsDialog() | ^ | void keydialog.c:287:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 287 | void ShowKeywordsDialog() | ^ | void keydialog.c:316:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | void HideKeywordsDialog() | ^ | void 39 warnings generated. cc -o pho pho.o gmain.o phoimglist.o gwin.o imagenote.o gdialogs.o keydialog.o exif/libphoexif.a -lm -L/usr/local/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -L/usr/X11R6/lib -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -Wl,-rpath-link,/usr/X11R6/lib -lfontconfig -lfreetype -lXrender -lXext -lX11 -lm ld: warning: pho.c(pho.o:(DeleteImage)): warning: sprintf() is often misused, please use snprintf() ld: warning: jpgfile.c(jpgfile.o:(ReadJpegSections) in archive exif/libphoexif.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gwin.c(gwin.o:(DrawImage)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in graphics/pho at 1764773478.33 ===> graphics/pho ===> Faking installation for pho-1.0 /exopi-obj/pobj/pho-1.0/bin/install -c -s -m 755 pho /exopi-obj/pobj/pho-1.0/fake-amd64/usr/local/bin/pho /exopi-obj/pobj/pho-1.0/bin/install -c -m 644 doc/pho.1 /exopi-obj/pobj/pho-1.0/fake-amd64/usr/local/man/man1/pho.1 ===> Building package for pho-1.0 Create /exopi-cvs/ports/packages/amd64/all/pho-1.0.tgz Creating package pho-1.0 reading plist| checking dependencies| checking dependencies|x11/gtk+2,-main checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 5% checksumming|***** | 8% checksumming|****** | 10% checksumming|******** | 13% checksumming|********* | 15% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************** | 23% checksumming|*************** | 25% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|*********************** | 38% checksumming|************************ | 40% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 55% checksumming|*********************************** | 58% checksumming|************************************* | 60% checksumming|************************************** | 63% checksumming|**************************************** | 65% checksumming|***************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 73% checksumming|********************************************** | 75% checksumming|*********************************************** | 78% checksumming|************************************************* | 80% checksumming|************************************************** | 83% checksumming|**************************************************** | 85% checksumming|***************************************************** | 88% checksumming|******************************************************* | 90% checksumming|******************************************************** | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|************************************************************* | 95% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/pho-1.0.tgz >>> Running clean in graphics/pho at 1764773486.26 ===> graphics/pho ===> Cleaning for pho-1.0 >>> Ended at 1764773486.45 max_stuck=2.36/depends=2.49/show-prepare-results=0.64/build=4.62/package=7.92/clean=0.24