=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/imaze", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for imaze-1.3nb4 --- all --- cd source && make netbsd --- netbsd --- make GRAF=MOTIF GRAFLIBS='$(MOTIFLIBS)' GRAFINCLUDES='$(MOTIFINCLUDES)' SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="$(PREFIX)/share/imaze/sound"' all --- client.o --- --- rechne3d.o --- --- client.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c client.c --- rechne3d.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rechne3d.c rechne3d.c:82:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | static int projx(x, y) | ^ rechne3d.c:100:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static int projy(y, z) | ^ rechne3d.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | static int drehx(x, y, w) | ^ rechne3d.c:141:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | static int drehy(x, y, w) | ^ rechne3d.c:164:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | static int drehblick(kugelx, kugely, kugelblick, ichblick) | ^ rechne3d.c:217:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | static void ausschnitt_eintragen(sichtanz, sichtbar, von, bis) | ^ rechne3d.c:248:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | static void rechnekugel(anzwaende, waende, anzkugeln, | ^ rechne3d.c:368:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | static void dreh_rechne_kugel(anzwaende, waende, anzkugeln, kugeln, | ^ --- client.o --- client.c:110:5: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | memcpy(&feld_himricht[1][feldlaenge - 1 - y] | ^ client.c:110:5: note: include the header or explicitly provide a declaration for 'memcpy' --- rechne3d.o --- rechne3d.c:500:24: warning: for loop has empty body [-Wempty-body] 500 | wand.ecke[0].x; i++); | ^ rechne3d.c:500:24: note: put the semicolon on a separate line to silence this warning rechne3d.c:405:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | static void rechnewand(anzwaende, waende, x1, y1, x2, y2, farbe, tuer) | ^ --- client.o --- client.c:133:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static void objekt_listen_init(objekte) | ^ --- rechne3d.o --- rechne3d.c:634:3: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- client.o --- client.c:152:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | static void objekt_listen_freigeben(objekte) | ^ --- rechne3d.o --- 634 | abs(XPOS(objekt1->pos) - XPOS(objekt2->pos)) >= RASPT || | ^ rechne3d.c:634:3: note: include the header or explicitly provide a declaration for 'abs' --- client.o --- client.c:185:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | static int punkte_vergleich(punkte1, punkte2) | ^ --- rechne3d.o --- rechne3d.c:608:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | static int objekt_vergleich(objekt1, objekt2) | ^ --- client.o --- client.c:309:5: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- rechne3d.o --- rechne3d.c:667:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- client.o --- 309 | strlen(abschuss_spruch) + 1); | ^ client.c:309:5: note: include the header or explicitly provide a declaration for 'strlen' client.c:310:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- rechne3d.o --- 667 | static void einnorden(neu, alt, himricht, feldbreite, feldlaenge) | ^ --- client.o --- 310 | strcpy(blick_vor.text, abschuss_spruch); | ^ client.c:310:4: note: include the header or explicitly provide a declaration for 'strcpy' --- rechne3d.o --- rechne3d.c:723:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | static void tueren_offen_waagerecht(anzoffen, offen, feld, | ^ --- client.o --- client.c:217:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rechne3d.o --- rechne3d.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- client.o --- 217 | static void neuaufbau(spieler_aktiv, gegneranz, alle_spieler, schuss_aktiv, | ^ --- rechne3d.o --- 779 | static void tueren_offen_senkrecht(anzoffen, offen, feld, | ^ --- client.o --- client.c:405:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | exit(0); | ^ client.c:405:2: note: include the header or explicitly provide a declaration for 'exit' client.c:443:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | void spiel_puffer_anlegen(spieler_aktiv_var, spieler_var, gegneranz_var, | ^ --- rechne3d.o --- rechne3d.c:835:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | static void tueren_offen_markieren(anzoffen, offen, feld, | ^ rechne3d.c:919:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | static void rechne_nordwand(anzwaende, waende, feld, x, y, | ^ rechne3d.c:959:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- client.o --- client.c:515:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rechne3d.o --- 959 | static void rechne_westwand(anzwaende, waende, feld, x, y, | ^ --- client.o --- 515 | void signale_abfragen(signale) | ^ --- rechne3d.o --- rechne3d.c:999:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- client.o --- client.c:566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | int bewegung(ms, zeichnen) | ^ --- rechne3d.o --- 999 | static void rechne_ostwand(anzwaende, waende, feld, x, y, | ^ --- client.o --- client.c:629:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | int client_spiel_starten(server_name, spruch) | ^ client.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void uebler_fehler(meldung, knopf) | ^ client.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void milder_fehler(meldung, knopf) | ^ client.c:758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | void milden_fehler_abfragen(meldung, knopf) | ^ client.c:775:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 775 | void main(argc, argv) | ^ client.c:775:1: note: change return type to 'int' 775 | void main(argc, argv) | ^~~~ | int client.c:775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | void main(argc, argv) | ^ --- rechne3d.o --- rechne3d.c:1037:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | static void objekte_sortieren_vorberechnung(anzobjekte, objekte, ichpos, | ^ rechne3d.c:1610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | static void objekte_sortieren(anzobjekte, objekte) | ^ rechne3d.c:1689:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | static void rechne_alles(anzwaende, waende, anzkugeln, kugeln, | ^ rechne3d.c:1870:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | void rechne3d(objektdaten, ich, anzgegner, gegner, anzschuesse, schuesse) | ^ --- client.o --- 17 warnings generated. --- gentrigtab.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c gentrigtab.c --- speicher.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c speicher.c --- rechne3d.o --- 23 warnings generated. --- rechne_karte.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rechne_karte.c rechne_karte.c:36:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | static int skalier_x(x) | ^ rechne_karte.c:53:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | static int skalier_y(y) | ^ rechne_karte.c:78:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | static void rechnelinie(anzlinien, linien, x, y, senkrecht, wand1, wand2) | ^ rechne_karte.c:128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | void rechne_karte_linien(anzlinien, linien) | ^ rechne_karte.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void rechne_karte_kreise(anzkreise, kreise, anzspieler, spieler) | ^ --- speicher.o --- speicher.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void speicher_belegen(zeiger, groesse) | ^ speicher.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void speicher_vergroessern(zeiger, groesse) | ^ speicher.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void speicher_freigeben(zeiger) | ^ speicher.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void liste_initialisieren(anzahl, liste) | ^ speicher.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void liste_verlaengern(anzahl, liste, element_groesse) | ^ speicher.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void liste_kopieren(anzahl_neu, liste_neu, anzahl, liste, element_groesse) | ^ speicher.c:161:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 161 | if (*anzahl_neu = *anzahl) | ~~~~~~~~~~~~^~~~~~~~~ speicher.c:161:18: note: place parentheses around the assignment to silence this warning 161 | if (*anzahl_neu = *anzahl) | ^ | ( ) speicher.c:161:18: note: use '==' to turn this assignment into an equality comparison 161 | if (*anzahl_neu = *anzahl) | ^ | == speicher.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | void liste_freigeben(anzahl, liste) | ^ --- rechne_karte.o --- 5 warnings generated. --- ip_netz.o --- --- speicher.o --- 8 warnings generated. --- netzwerk.o --- --- ip_netz.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_netz.c --- netzwerk.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c netzwerk.c netzwerk.c:73:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | static void spielfeld_kopieren(spielfeld, feldbreite, feldlaenge, daten) | ^ netzwerk.c:113:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | static void protokoll_fehler(ursache) | ^ netzwerk.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int spielparameter_empfangen(programmname, spielername, spielerspruch, | ^ netzwerk.c:473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | int spiel_paket_angekommen(paket_laenge, paket) | ^ --- ip_netz.o --- ip_netz.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | static void netzwerk_fehler(ursache) | ^ ip_netz.c:119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | static void milder_netzwerk_fehler(ursache) | ^ ip_netz.c:262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | int netzwerk_init(argc, argv) | ^ ip_netz.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | int verbindung_aufbauen(server_name) | ^ ip_netz.c:382:3: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | inet_addr(server_hostname)) == 0xffffffff) | ^ ip_netz.c:431:10: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 431 | htons(atoi(server_portname))) == 0) | ^ ip_netz.c:487:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | if (close(tcp_deskriptor)) | ^ ip_netz.c:512:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | int prolog_paket_senden(paket_laenge, paket) | ^ ip_netz.c:578:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | int prolog_paket_empfangen(paket_laenge, paket) | ^ ip_netz.c:703:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 703 | &adresslaenge)) | ^~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_netz.c:712:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 712 | &adresslaenge)) | ^~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_netz.c:740:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | if (close(tcp_deskriptor)) | ^ ip_netz.c:796:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | int spiel_paket_senden(paket_laenge, paket) | ^ ip_netz.c:843:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | int spiel_paket_erwarten(ms) | ^ ip_netz.c:905:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 905 | if (close(tcp_deskriptor)) | ^ ip_netz.c:916:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 916 | if (close(udp_deskriptor)) | ^ 16 warnings generated. --- netzwerk.o --- 4 warnings generated. --- global.o --- --- system.o --- --- global.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c global.c --- system.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c system.c --- global.o --- global.c:94:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | void zufall_init(startwert) | ^ global.c:129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | long wurzel(x, runden) | ^ 2 warnings generated. --- X_icon.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_icon.c --- system.o --- system.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | static void leer_handler(signum) | ^ system.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | int signal_blockiert(signum) | ^ system.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void signal_blockieren(signum) | ^ system.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void signal_freigeben(signum) | ^ system.c:192:33: warning: parameter 'deskriptor' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | int deskriptor_nicht_blockieren(deskriptor) | ^ 193 | { system.c:192:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | int deskriptor_nicht_blockieren(deskriptor) | ^ system.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | int puffer_lesen(deskriptor, puffer_laenge, puffer) | ^ system.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int puffer_schreiben(deskriptor, puffer_laenge, puffer) | ^ system.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void timer_starten(ms) | ^ system.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void timer_restaurieren(zustand) | ^ 10 warnings generated. --- motif_appdefs.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_appdefs.c --- X_icon.o --- X_icon.c:103:6: warning: passing 'unsigned char[288]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | 0, data, W, H, 8, W / 8); | ^~~~ /var/tmp/work/games/imaze/work/.buildlink/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 1443 | char* /* data */, | ^ X_icon.c:107:4: warning: call to undeclared function 'XPutPixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | XPutPixel(image, x, y, pixel_data[y][x] != ' '); | ^ X_icon.c:79:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | static Pixmap create_pixmap(display, screen, pixel_data, black, white, depth) | ^ X_icon.c:117:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | Pixmap X_create_icon_pixmap(display, screen) | ^ 4 warnings generated. --- motif_fenster.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_fenster.c --- X_farben.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_farben.c --- X_grafik.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_grafik.c --- motif_fenster.o --- motif_fenster.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | static void request_handler(widget, client_data, call_data) | ^ motif_fenster.c:123:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | view->init(&view->X_data, &view->window); | ^ motif_fenster.c:106:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | static void view_init(view) | ^ motif_fenster.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | static void view_resize(widget, client_data, call_data) | ^ motif_fenster.c:151:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | view->redraw(view->X_data, &view->window, view->data); | ^ motif_fenster.c:142:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | static void view_redraw(widget, client_data, call_data) | ^ motif_fenster.c:161:2: warning: call to undeclared function 'X_event_routine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | X_event_routine(XtDisplay(widget), call_data->event); | ^ motif_fenster.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static void view_input(widget, client_data, call_data) | ^ motif_fenster.c:165:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | static Widget create_input_box(name, parent_w) | ^ motif_fenster.c:193:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | static void view_destroy(widget, client_data, call_data) | ^ motif_fenster.c:207:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | static void popup_view(view) | ^ motif_fenster.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | static void popdown_view(view) | ^ motif_fenster.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | static void view_toggle(widget, client_data, call_data) | ^ motif_fenster.c:274:28: warning: parameter 'in_pause' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | static void set_pause_mode(in_pause) | ^ 275 | { motif_fenster.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | static void set_pause_mode(in_pause) | ^ motif_fenster.c:349:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | static void network_ready_handler(data, source, id) | ^ motif_fenster.c:367:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | static void disconnect_handler(widget, client_data, call_data) | ^ motif_fenster.c:443:4: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'XtPointer' (aka 'void *') [-Wint-conversion] 443 | XtInputReadMask, network_ready_handler, | ^~~~~~~~~~~~~~~ /var/tmp/work/games/imaze/work/.buildlink/include/X11/Intrinsic.h:314:26: note: expanded from macro 'XtInputReadMask' 314 | #define XtInputReadMask (1L<<0) | ^~~~~~~ /var/tmp/work/games/imaze/work/.buildlink/include/X11/Intrinsic.h:1017:32: note: passing argument to parameter here 1017 | XtPointer /* condition */, | ^ motif_fenster.c:376:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | static void connect_handler(widget, client_data, call_data) | ^ motif_fenster.c:485:2: warning: call to undeclared function 'eingabe_simulieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | eingabe_simulieren(STOPSIGNAL); | ^ motif_fenster.c:480:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | static void pause_handler(widget, client_data, call_data) | ^ motif_fenster.c:494:2: warning: call to undeclared function 'eingabe_simulieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 494 | eingabe_simulieren(WEITERSIGNAL); | ^ motif_fenster.c:489:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | static void resume_handler(widget, client_data, call_data) | ^ motif_fenster.c:498:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | static void exit_handler(widget, client_data, call_data) | ^ motif_fenster.c:516:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | exit(0); | ^ motif_fenster.c:516:2: note: include the header or explicitly provide a declaration for 'exit' motif_fenster.c:509:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | static void destroy_handler(widget, client_data, call_data) | ^ motif_fenster.c:625:4: warning: call to undeclared function 'speicher_belegen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | speicher_belegen((void **)&message, 10); | ^ motif_fenster.c:630:4: warning: call to undeclared function 'speicher_vergroessern'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | speicher_vergroessern((void **)&message, | ^ motif_fenster.c:638:3: warning: call to undeclared function 'speicher_freigeben'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 638 | speicher_freigeben((void **)&message); | ^ motif_fenster.c:520:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | static void fill_main(main_w) | ^ motif_fenster.c:648:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | static int request_window(message, label1, label2, two_buttons, widget_name) | ^ motif_fenster.c:783:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | void zeichne_blickfeld(objekte_neu) | ^ motif_fenster.c:796:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | void zeichne_rueckspiegel(objekte_rueck_neu) | ^ motif_fenster.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | void zeichne_karte(spieler_index, anzkreise_neu, kreise_neu) | ^ motif_fenster.c:815:2: warning: call to undeclared function 'liste_kopieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | liste_kopieren(&map_data.anzkreise, (void **)&map_data.kreise, | ^ motif_fenster.c:823:2: warning: call to undeclared function 'liste_freigeben'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | liste_freigeben(&map_data.anzkreise_alt, | ^ motif_fenster.c:830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | void zeichne_grundriss(anzlinien_neu, linien_neu) | ^ motif_fenster.c:834:2: warning: call to undeclared function 'liste_freigeben'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 834 | liste_freigeben(&map_data.anzlinien, (void **)&map_data.linien); | ^ motif_fenster.c:835:2: warning: call to undeclared function 'liste_kopieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 835 | liste_kopieren(&map_data.anzlinien, (void **)&map_data.linien, | ^ motif_fenster.c:845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | void zeichne_kompass(blickrichtung_neu) | ^ motif_fenster.c:856:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | void zeichne_punkte(punkte_neu) | ^ motif_fenster.c:859:2: warning: call to undeclared function 'liste_freigeben'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 859 | liste_freigeben(&score_data.anzpunkte, (void **)&score_data.punkte); | ^ motif_fenster.c:860:2: warning: call to undeclared function 'liste_kopieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 860 | liste_kopieren(&score_data.anzpunkte, (void **)&score_data.punkte, | ^ motif_fenster.c:878:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | int grafik_init(argc, argv) | ^ motif_fenster.c:926:2: warning: call to undeclared function 'liste_initialisieren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 926 | liste_initialisieren(&score_data.anzpunkte, | ^ motif_fenster.c:960:6: warning: call to undeclared function 'X_eingabe_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | if (X_eingabe_init(argc, argv)) | ^ motif_fenster.c:972:2: warning: call to undeclared function 'X_eingabe_ende'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | X_eingabe_ende(); | ^ motif_fenster.c:976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | void ueblen_fehler_anzeigen(meldung, knopf) | ^ motif_fenster.c:997:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | void ereignisse_darstellen(ereignisse) | ^ motif_fenster.c:1011:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | int rueckfrage(meldung, weiter_knopf, abbruch_knopf) | ^ motif_fenster.c:1019:3: warning: call to undeclared function 'uebler_fehler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1019 | uebler_fehler(message, NULL); | ^ 51 warnings generated. --- X_grafik.o --- X_grafik.c:148:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | static int x_skalieren(x, breite) | ^ X_grafik.c:172:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | static void malwaende(fenster, zeichenfeld, anzwaende, waende) | ^ X_grafik.c:295:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | static void gesicht_berechnen(augelda, augerda, mundda, augel, auger, mund, | ^ X_grafik.c:434:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | static void malkugel(fenster, zeichenfeld, sichtbar, sichtanz, x0, y0, | ^ X_grafik.c:525:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | static void malkugeln(fenster, zeichenfeld, anzkugeln, kugeln) | ^ X_grafik.c:638:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | static void mallinie(fenster, zeichenfeld, gc, x, y, laenge, senkrecht, typ) | ^ X_grafik.c:698:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | static void malkreise(fenster, zeichenfeld, anzkreise, kreise) | ^ X_grafik.c:743:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | static void kopier_kreise(fenster, von, nach, gc, anzkreise, kreise) | ^ X_grafik.c:777:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | static void zeichne_fadenkreuz(fenster, zeichenfeld) | ^ X_grafik.c:823:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | static void zeichne_linien(fenster, zeichenfeld, anzlinien, linien) | ^ --- X_daten.o --- --- X_grafik.o --- X_grafik.c:890:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | static void malziffer(fenster, zeichenfeld, x0, y0, breite, hoehe, wert) | ^ X_grafik.c:932:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | static void malzahl(fenster, zeichenfeld, x0, y0, breite, hoehe, abstand, wert) | ^ X_grafik.c:968:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | static Pixmap bitmap_skalieren(display, screen, daten, breite, hoehe, | ^ X_grafik.c:1024:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | void X_zeichne_blickfeld(X_daten, fenster, daten) | ^ X_grafik.c:1081:33: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1081 | XTextExtents(text_font, text, strlen(text), &direction_hint, | ^ X_grafik.c:1081:33: note: include the header or explicitly provide a declaration for 'strlen' X_grafik.c:1107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | void X_zeichne_karte(X_daten, fenster, daten) | ^ X_grafik.c:1145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | void X_zeichne_grundriss(X_daten, fenster, daten) | ^ X_grafik.c:1183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | void X_zeichne_kompass(X_daten, fenster, daten) | ^ X_grafik.c:1308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1308 | void X_zeichne_punkte(X_daten, fenster, daten) | ^ X_grafik.c:1358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | int X_farben_init(display, screen) | ^ X_grafik.c:1538:8: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1538 | sw_raster[sw_defaultfarben[i] - RASTER], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X_grafik.c:1566:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | void X_zeichne_sync_anfang(display) | ^ X_grafik.c:1581:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | void X_zeichne_sync_ende(display) | ^ X_grafik.c:1603:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | void X_fenster_init(X_daten, fenster) | ^ X_grafik.c:1626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | void X_fenster_freigeben(X_daten, fenster) | ^ X_grafik.c:1650:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | void X_karte_init(X_daten, fenster) | ^ X_grafik.c:1675:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | void X_karte_freigeben(X_daten, fenster) | ^ --- X_daten.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_daten.c X_daten.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | void objekte_kopieren(objekte, objekte_neu) | ^ X_daten.c:79:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | strlen(objekte_neu->text) + 1); | ^ X_daten.c:79:4: note: include the header or explicitly provide a declaration for 'strlen' X_daten.c:80:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | strcpy(objekte->text, objekte_neu->text); | ^ X_daten.c:80:3: note: include the header or explicitly provide a declaration for 'strcpy' X_daten.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void objekt_listen_init(objekte) | ^ 4 warnings generated. --- X_tasten.o --- --- X_grafik.o --- 27 warnings generated. --- X_tasten.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_tasten.c --- server.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c server.c server.c:48:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | static void ende_handler(signum) | ^ server.c:177:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | exit(0); | ^ server.c:177:5: note: include the header or explicitly provide a declaration for 'exit' server.c:202:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | static int aussenwand_korrigieren(wand) | ^ server.c:239:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | static void ladelab(dateiname) | ^ server.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | void uebler_fehler(meldung, knopf) | ^ server.c:413:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 413 | void main(argc, argv) | ^ server.c:413:1: note: change return type to 'int' 413 | void main(argc, argv) | ^~~~ | int server.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void main(argc, argv) | ^ --- X_tasten.o --- X_tasten.c:148:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | static void aktiv_setzen(aktiv, signalnr, gedrueckt) | ^ X_tasten.c:199:19: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 199 | switch (action = XKeycodeToKeysym(display, event->xkey.keycode, 0)) | ^ /var/tmp/work/games/imaze/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/games/imaze/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ X_tasten.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | void X_event_routine(display, event) | ^ X_tasten.c:263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | void eingabe_simulieren(signalnr) | ^ X_tasten.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | void eingabe_abfragen(signale) | ^ X_tasten.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | int X_eingabe_init(argc, argv) | ^ 6 warnings generated. --- ip_server.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_server.c --- server.o --- 7 warnings generated. --- bewegung.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c bewegung.c bewegung.c:173:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | static int atan(x, y) | ^ bewegung.c:233:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | static int punkt_trifft_wand(x, y, winkel, strecke, korrektur) | ^ bewegung.c:457:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 457 | else | ^ bewegung.c:338:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | static int punkt_trifft_kreis(x, y, winkel, strecke, radius, korrektur) | ^ bewegung.c:558:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | static int kreis_schneidet_wand(x, y, radius) | ^ bewegung.c:603:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | static int kreis_trifft_wand(x, y, radius, winkel, strecke, korrektur) | ^ bewegung.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | static int ist_wand(x, y, himricht, spieler) | ^ bewegung.c:1029:6: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1029 | memcpy(korrektur, &korrektur_neu, | ^ bewegung.c:1029:6: note: include the header or explicitly provide a declaration for 'memcpy' bewegung.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | static int kreis_kollidiert(x, y, radius, winkel, strecke, spieler, nr, | ^ bewegung.c:1195:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | static void punkte_erhoehen(spieler_nr, differenz) | ^ bewegung.c:1225:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | static void spruch_kopieren(spieler_nr, gegner_nr) | ^ bewegung.c:1263:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | static int spieler_schritt(spieler_nr, pos, winkel, gesamt_schritt, | ^ bewegung.c:1339:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | static void bewege_spieler(spieler_nr, spieler, vor, zurueck, links, rechts) | ^ bewegung.c:1590:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1590 | else | ^ bewegung.c:1559:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | static int bewege_schuss(besitzer, schuss, blick) | ^ bewegung.c:1620:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | static void naehe_setzen(x, y, wert) | ^ bewegung.c:1678:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | static int spieler_beamen(spieler_nr) | ^ bewegung.c:1782:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | static void paket_verlaengern(paket_laenge, paket, kennung, daten_laenge, daten) | ^ bewegung.c:1836:14: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1836 | zufall_init(time(NULL)); | ^ bewegung.c:1861:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | void spieler_ende(spieler_nr) | ^ bewegung.c:1912:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | void spieler_start(spieler_nr, spruch_laenge, spruch) | ^ bewegung.c:1966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | void spieler_suspendieren(spieler_nr) | ^ bewegung.c:2037:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | void bewegung(spieler_nr, paket_laenge, paket, client_ende) | ^ bewegung.c:2154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | void paket_bauen(spieler_nr, paket_laenge, paket, client_ende, paket_nr) | ^ bewegung.c:2326:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2326 | else | ^ bewegung.c:2406:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2406 | else | ^ --- ip_server.o --- ip_server.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void prozess_ende(signum) | ^ ip_server.c:180:2: warning: call to undeclared function 'uebler_fehler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | uebler_fehler(meldung, NULL); | ^ ip_server.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static void netzwerk_fehler(ursache) | ^ ip_server.c:195:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | static struct verbindung *verbindung_init(adresse) | ^ ip_server.c:224:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | static char *verbindungsname(verbindung) | ^ ip_server.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int prolog_paket_senden(verbindung, paket_laenge, paket) | ^ ip_server.c:296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | int prolog_paket_empfangen(verbindung, paket_laenge, paket) | ^ ip_server.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | void spiel_paket_senden(verbindung, paket_laenge, paket) | ^ ip_server.c:357:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | int spiel_paket_empfangen(verbindungen_anz, verbindungen, | ^ ip_server.c:375:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 375 | &paket_adresse_laenge); | ^~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ ip_server.c:423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | void verbindung_freigeben(verbindung) | ^ ip_server.c:440:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | exit(0); | ^ ip_server.c:440:3: note: include the header or explicitly provide a declaration for 'exit' ip_server.c:467:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 467 | (struct sockaddr *)&client_adresse, &client_adresse_laenge)) < 0) | ^~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_server.c:479:10: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | switch (fork()) | ^ ip_server.c:504:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 504 | close(deskriptor); | ^ ip_server.c:524:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | void verbindung_abbrechen(verbindung) | ^ ip_server.c:533:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | close(SOCKET(verbindung)); | ^ ip_server.c:555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | int verbindung_auf_spiel(session, verbindung) | ^ ip_server.c:572:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 572 | &spiel_adresse_laenge)) | ^~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_server.c:589:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 589 | &spiel_adresse_laenge)) | ^~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_server.c:595:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | close(tmp_deskriptor); | ^ ip_server.c:604:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 604 | &spiel_adresse_laenge)) | ^~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_server.c:629:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | if (close(SOCKET(verbindung))) | ^ ip_server.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void netzwerk_init(argc, argv) | ^ ip_server.c:808:40: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | if ((server_adresse.sin_port = htons(atoi(portname))) == 0) | ^ ip_server.c:825:5: warning: call to undeclared function 'uebler_fehler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 825 | uebler_fehler(meldung, NULL); | ^ ip_server.c:921:25: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | if ((session_prozess = fork()) < 0) | ^ ip_server.c:928:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 928 | if (close(sockpair[0])) | ^ ip_server.c:959:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 959 | (struct sockaddr *)&spiel_adresse, &spiel_adresse_laenge)) | ^~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ip_server.c:963:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | if (close(sockpair[1])) | ^ ip_server.c:1006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | void nachricht_senden(session, verbindung, daten_laenge, daten) | ^ ip_server.c:1056:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1056 | else | ^ ip_server.c:1084:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | int nachricht_empfangen(session, verbindung, daten_laenge, daten) | ^ ip_server.c:1163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | void nachricht_erwarten(session) | ^ ip_server.c:1200:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | void *nachricht_oder_verbindung_erwarten(anzsessions, sessions) | ^ 35 warnings generated. --- init_spieler.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c init_spieler.c init_spieler.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int init_spieler(verbindung, feldbreite, feldlaenge, spielfeld, spruch) | ^ --- bewegung.o --- 26 warnings generated. --- session.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c session.c --- init_spieler.o --- 1 warning generated. --- ninja.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ninja.c --- session.o --- session.c:315:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | static int client_eintragen(verbindung, spruch_laenge, spruch) | ^ session.c:379:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | static void client_austragen(client_nr) | ^ session.c:437:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | exit(0); | ^ session.c:437:2: note: include the header or explicitly provide a declaration for 'exit' session.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | int paket_bestaetigt(spieler_nr, paket_nr) | ^ --- ninja.o --- ninja.c:164:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 164 | else | ^ ninja.c:42:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | static void laufen(signale) | ^ ninja.c:179:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | exit(0); | ^ ninja.c:179:2: note: include the header or explicitly provide a declaration for 'exit' ninja.c:175:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | static void abbruch_signal_handler(signum) | ^ ninja.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void uebler_fehler(meldung, knopf) | ^ ninja.c:195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | void milder_fehler(meldung, knopf) | ^ ninja.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void spiel_puffer_anlegen(spieler_aktiv_var, spieler_var, gegneranz_var, | ^ ninja.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void signale_abfragen(signale) | ^ ninja.c:269:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 269 | void main(argc, argv) | ^ ninja.c:269:1: note: change return type to 'int' 269 | void main(argc, argv) | ^~~~ | int ninja.c:284:19: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | if (argc > 2 && !strcmp(argv[1], "-m")) | ^ ninja.c:284:19: note: include the header or explicitly provide a declaration for 'strcmp' ninja.c:294:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | strcpy(tmp, "Ninja of "); | ^ ninja.c:294:3: note: include the header or explicitly provide a declaration for 'strcpy' ninja.c:300:4: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | strncpy(tmp + 9, name, sizeof tmp - 9); | ^ ninja.c:300:4: note: include the header or explicitly provide a declaration for 'strncpy' ninja.c:317:18: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | schussdichte = atoi(argv[2]); | ^ ninja.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | void main(argc, argv) | ^ --- session.o --- 4 warnings generated. --- ninja.o --- 14 warnings generated. --- baulab.o --- --- gentrigtab --- --- baulab.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c baulab.c --- gentrigtab --- clang -L/opt/pkg/lib -L/opt/pkg/lib gentrigtab.o global.o -lm -o gentrigtab --- baulab.o --- baulab.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | static int durchgang(x, y, nach) | ^ baulab.c:153:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 153 | fprintf(stderr, "\n{%d:%d}\n", x - flags, i), exit(1); | ~~ ^~~~~~~~~ | %ld baulab.c:153:49: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | fprintf(stderr, "\n{%d:%d}\n", x - flags, i), exit(1); | ^ baulab.c:153:49: note: include the header or explicitly provide a declaration for 'exit' baulab.c:149:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static int setzen(x, i) | ^ baulab.c:281:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | static void speicherlab(name) | ^ baulab.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void uebler_fehler(meldung, knopf) | ^ baulab.c:373:19: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | while ((option = getopt(argc, argv, "w:h:d:D:sr:v")) != -1) | ^ baulab.c:377:18: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | feldbreite = atoi(optarg); | ^ baulab.c:400:17: warning: call to undeclared function 'atol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | startwert = atol(optarg); | ^ baulab.c:351:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | int main(argc, argv) | ^ --- ninja --- clang -L/opt/pkg/lib -L/opt/pkg/lib ip_netz.o netzwerk.o ninja.o speicher.o global.o system.o -o ninja --- baulab.o --- 10 warnings generated. --- trigtab.c --- ./gentrigtab > trigtab.c --- genlab --- clang -L/opt/pkg/lib -L/opt/pkg/lib baulab.o speicher.o global.o -o genlab --- trigtab.o --- clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="/opt/pkg/share/imaze/sound" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c trigtab.c --- imaze --- --- imazesrv --- --- imaze --- clang -L/opt/pkg/lib -L/opt/pkg/lib client.o rechne3d.o trigtab.o speicher.o rechne_karte.o ip_netz.o netzwerk.o global.o system.o X_icon.o motif_appdefs.o motif_fenster.o X_farben.o X_grafik.o X_daten.o X_tasten.o -lXm -lXt -lX11 -o imaze --- imazesrv --- clang -L/opt/pkg/lib -L/opt/pkg/lib server.o ip_server.o speicher.o bewegung.o trigtab.o global.o system.o init_spieler.o session.o -o imazesrv cd /var/tmp/work/games/imaze/work/imaze && pax -O -rf /Volumes/data/distfiles/imaze-sounds.tar