===> Building for xkobo-1.11nb5 clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xkobo.C -o xkobo.o xkobo.C:62:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(win::disp, win::xevt.xkey.keycode, 0); ^ /Users/pbulk/build/games/xkobo/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/games/xkobo/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ xkobo.C:69:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(win::disp, win::xevt.xkey.keycode, 0); ^ /Users/pbulk/build/games/xkobo/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/games/xkobo/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ xkobo.C:203:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.title("xkobo"); ^ xkobo.C:206:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.font(NORMAL_FONT); ^ ./config.h:50:21: note: expanded from macro 'NORMAL_FONT' #define NORMAL_FONT \ ^ xkobo.C:220:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wscore.title("xkobo-score"); ^ xkobo.C:223:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wscore.font(NORMAL_FONT); ^ ./config.h:50:21: note: expanded from macro 'NORMAL_FONT' #define NORMAL_FONT \ ^ 6 warnings generated. clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c tiff.C -o tiff.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c file.C -o file.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xlwin.C -o xlwin.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xlbacking.C -o xlbacking.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xlcmap.C -o xlcmap.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xlscroll.C -o xlscroll.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c xlchip.C -o xlchip.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c enemy.C -o enemy.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c enemies.C -o enemies.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c myship.C -o myship.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c key.C -o key.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c map.C -o map.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c radar.C -o radar.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c screen.C -o screen.o screen.C:89:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.font("-adobe-new century " ^ screen.C:91:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(65+pos, 55+pos, "XKOBO"); ^ screen.C:93:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.font(NORMAL_FONT); ^ ./config.h:50:21: note: expanded from macro 'NORMAL_FONT' #define NORMAL_FONT \ ^ screen.C:94:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(83+pos, 70+pos, XKOBO_VERSION); ^ ./version.h:26:27: note: expanded from macro 'XKOBO_VERSION' #define XKOBO_VERSION "Version 1.11" ^ screen.C:95:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(27+pos, 90+pos, XKOBO_DATE); ^ ./version.h:27:27: note: expanded from macro 'XKOBO_DATE' #define XKOBO_DATE "Fri Jan 10 11:17:50 JST 1997" ^ screen.C:97:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(80+pos, 150+pos, "cheat mode"); ^ screen.C:101:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(30+pos, 175+pos, "push 's' key to start a game"); ^ screen.C:102:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(45+pos, 190+pos, "'n','m' to choose a stage"); ^ screen.C:103:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wchip.string_back(85+pos, 205+pos, "'q' to quit"); ^ 9 warnings generated. clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c manage.C -o manage.o manage.C:129:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 25, "SCORE"); ^ manage.C:130:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", score); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:133:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 55, "STAGE"); ^ manage.C:134:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", scene_num + 1); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:137:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 85, "SHIPS"); ^ manage.C:139:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", ships); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:141:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "999999999"); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:150:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", score); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:163:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 25, " "); ^ manage.C:164:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 40, " "); ^ manage.C:167:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 25, "SCORE"); ^ manage.C:168:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", score); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:182:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 85, " "); ^ manage.C:183:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 100, " "); ^ manage.C:186:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wbase.string(posx, 85, "SHIPS"); ^ manage.C:187:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "%09d", ships); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ manage.C:348:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(s, "high score : %09d", highscore); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 17 warnings generated. clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c scenes.C -o scenes.o clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c score.C -o score.o score.C:87:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(login_name, "%u", getuid()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ score.C:92:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(save_path, "%s/%u", XKOBO_SCORE_DIR, getuid()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ score.C:146:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(path, "%s/%s", XKOBO_SCORE_DIR, direntp->d_name); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ score.C:168:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wscore.string(10, 24, "name"); ^ score.C:169:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wscore.string(180, 24, "high score"); ^ score.C:170:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wscore.string(80, 24, "cleared stages"); ^ score.C:173:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(buffer, "%09u", (unsigned int)tbl[j].score); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ score.C:175:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf(buffer, "%09u", (unsigned int)tbl[j].scene); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 8 warnings generated. clang++ -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -c random.C -o random.o clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -I/opt/pkg/include -c getvclass.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWAIT_MSEC=30 -DSHIPS=5 -DXKOBO_SCORE_DIR=\"/var/games/xkobo-scores\" -I/opt/pkg/include -c xkp256.c rm -f xkobo._man if test -z "" ; then cd `dirname xkobo` && ln -s `basename xkobo.man` `basename xkobo._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xkobo.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xkobo._man; fi rm -f xkobo clang++ -o xkobo xkobo.o tiff.o file.o xlwin.o xlbacking.o xlcmap.o xlscroll.o xlchip.o enemy.o enemies.o myship.o key.o map.o radar.o screen.o manage.o scenes.o score.o random.o getvclass.o xkp256.o -pipe -Os -I/opt/pkg/include -L/opt/pkg/lib -L/opt/pkg/lib -lXext -lX11