=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for imaze-1.3nb4 cd source && make netbsd make GRAF=MOTIF GRAFLIBS='$(MOTIFLIBS)' GRAFINCLUDES='$(MOTIFINCLUDES)' SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="$(PREFIX)/share/imaze/sound"' all 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c client.c 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] memcpy(&feld_himricht[1][feldlaenge - 1 - y] ^ client.c:110:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' client.c:133:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void objekt_listen_init(objekte) ^ client.c:152:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void objekt_listen_freigeben(objekte) ^ client.c:185:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int punkte_vergleich(punkte1, punkte2) ^ 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] strlen(abschuss_spruch) + 1); ^ client.c:309:5: note: include the header <string.h> 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] strcpy(blick_vor.text, abschuss_spruch); ^ client.c:310:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy' client.c:217:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void neuaufbau(spieler_aktiv, gegneranz, alle_spieler, schuss_aktiv, ^ 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] exit(0); ^ client.c:405:2: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] void spiel_puffer_anlegen(spieler_aktiv_var, spieler_var, gegneranz_var, ^ client.c:515:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void signale_abfragen(signale) ^ client.c:566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bewegung(ms, zeichnen) ^ client.c:629:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void milden_fehler_abfragen(meldung, knopf) ^ client.c:775:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ client.c:775:1: note: change return type to 'int' 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 C2x [-Wdeprecated-non-prototype] void main(argc, argv) ^ 17 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void dreh_rechne_kugel(anzwaende, waende, anzkugeln, kugeln, ^ rechne3d.c:500:24: warning: for loop has empty body [-Wempty-body] 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 C2x [-Wdeprecated-non-prototype] static void rechnewand(anzwaende, waende, x1, y1, x2, y2, farbe, tuer) ^ 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] abs(XPOS(objekt1->pos) - XPOS(objekt2->pos)) >= RASPT || ^ rechne3d.c:634:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' rechne3d.c:608:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int objekt_vergleich(objekt1, objekt2) ^ rechne3d.c:667:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void einnorden(neu, alt, himricht, feldbreite, feldlaenge) ^ rechne3d.c:723:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tueren_offen_waagerecht(anzoffen, offen, feld, ^ rechne3d.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tueren_offen_senkrecht(anzoffen, offen, feld, ^ rechne3d.c:835:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void rechne_westwand(anzwaende, waende, feld, x, y, ^ rechne3d.c:999:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rechne_ostwand(anzwaende, waende, feld, x, y, ^ rechne3d.c:1037:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void rechne3d(objektdaten, ich, anzgegner, gegner, anzschuesse, schuesse) ^ 23 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c gentrigtab.c 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c speicher.c speicher.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (*anzahl_neu = *anzahl) ~~~~~~~~~~~~^~~~~~~~~ speicher.c:161:18: note: place parentheses around the assignment to silence this warning if (*anzahl_neu = *anzahl) ^ ( ) speicher.c:161:18: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] void liste_freigeben(anzahl, liste) ^ 8 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void rechne_karte_kreise(anzkreise, kreise, anzspieler, spieler) ^ 5 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_netz.c ip_netz.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] &adresslaenge)) ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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] &adresslaenge)) ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] if (close(udp_deskriptor)) ^ 16 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int spiel_paket_angekommen(paket_laenge, paket) ^ 4 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c global.c global.c:94:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] long wurzel(x, runden) ^ 2 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c system.c system.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] int deskriptor_nicht_blockieren(deskriptor) ^ system.c:192:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void timer_restaurieren(zustand) ^ 10 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_icon.c 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] 0, data, W, H, 8, W / 8); ^~~~ /Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Pixmap X_create_icon_pixmap(display, screen) ^ 4 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_appdefs.c 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif_fenster.c motif_fenster.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] static void set_pause_mode(in_pause) ^ motif_fenster.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] XtInputReadMask, network_ready_handler, ^~~~~~~~~~~~~~~ /Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Intrinsic.h:319:26: note: expanded from macro 'XtInputReadMask' #define XtInputReadMask (1L<<0) ^~~~~~~ /Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Intrinsic.h:1022:32: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] exit(0); ^ motif_fenster.c:516:2: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] uebler_fehler(message, NULL); ^ 51 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_farben.c 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_grafik.c X_grafik.c:148:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void zeichne_linien(fenster, zeichenfeld, anzlinien, linien) ^ X_grafik.c:890:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] XTextExtents(text_font, text, strlen(text), &direction_hint, ^ X_grafik.c:1081:33: note: include the header <string.h> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void X_karte_freigeben(X_daten, fenster) ^ 27 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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] strlen(objekte_neu->text) + 1); ^ X_daten.c:79:4: note: include the header <string.h> 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] strcpy(objekte->text, objekte_neu->text); ^ X_daten.c:80:3: note: include the header <string.h> 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 C2x [-Wdeprecated-non-prototype] void objekt_listen_init(objekte) ^ 4 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c X_tasten.c X_tasten.c:148:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void aktiv_setzen(aktiv, signalnr, gedrueckt) ^ X_tasten.c:199:19: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] switch (action = XKeycodeToKeysym(display, event->xkey.keycode, 0)) ^ /Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/games/imaze/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int X_eingabe_init(argc, argv) ^ 6 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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] exit(0); ^ server.c:177:5: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void uebler_fehler(meldung, knopf) ^ server.c:413:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ server.c:413:1: note: change return type to 'int' 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 C2x [-Wdeprecated-non-prototype] void main(argc, argv) ^ 7 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ip_server.c ip_server.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] &paket_adresse_laenge); ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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] exit(0); ^ ip_server.c:440:3: note: include the header <stdlib.h> 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] (struct sockaddr *)&client_adresse, &client_adresse_laenge)) < 0) ^~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] &spiel_adresse_laenge)) ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:708:78: note: passing argument to parameter here 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] &spiel_adresse_laenge)) ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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] 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] &spiel_adresse_laenge)) ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] (struct sockaddr *)&spiel_adresse, &spiel_adresse_laenge)) ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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] 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 C2x [-Wdeprecated-non-prototype] void nachricht_senden(session, verbindung, daten_laenge, daten) ^ ip_server.c:1056:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void *nachricht_oder_verbindung_erwarten(anzsessions, sessions) ^ 35 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static int punkt_trifft_wand(x, y, winkel, strecke, korrektur) ^ bewegung.c:457:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ bewegung.c:338:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] memcpy(korrektur, &korrektur_neu, ^ bewegung.c:1029:6: note: include the header <string.h> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] else ^ bewegung.c:1559:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] else ^ bewegung.c:2406:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 26 warnings generated. 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" -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 C2x [-Wdeprecated-non-prototype] int init_spieler(verbindung, feldbreite, feldlaenge, spielfeld, spruch) ^ 1 warning generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c session.c session.c:315:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] exit(0); ^ session.c:437:2: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] int paket_bestaetigt(spieler_nr, paket_nr) ^ 4 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ninja.c ninja.c:164:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ninja.c:42:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] exit(0); ^ ninja.c:179:2: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void signale_abfragen(signale) ^ ninja.c:269:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ ninja.c:269:1: note: change return type to 'int' 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] if (argc > 2 && !strcmp(argv[1], "-m")) ^ ninja.c:284:19: note: include the header <string.h> 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] strcpy(tmp, "Ninja of "); ^ ninja.c:294:3: note: include the header <string.h> 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] strncpy(tmp + 9, name, sizeof tmp - 9); ^ ninja.c:300:4: note: include the header <string.h> 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] 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 C2x [-Wdeprecated-non-prototype] void main(argc, argv) ^ 14 warnings generated. 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c baulab.c baulab.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int durchgang(x, y, nach) ^ baulab.c:153:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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] fprintf(stderr, "\n{%d:%d}\n", x - flags, i), exit(1); ^ baulab.c:153:49: note: include the header <stdlib.h> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 10 warnings generated. clang -L/opt/pkg/lib -L/opt/pkg/lib gentrigtab.o global.o -lm -o gentrigtab clang -L/opt/pkg/lib -L/opt/pkg/lib ip_netz.o netzwerk.o ninja.o speicher.o global.o system.o -o ninja clang -L/opt/pkg/lib -L/opt/pkg/lib baulab.o speicher.o global.o -o genlab ./gentrigtab > trigtab.c 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" -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c trigtab.c 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 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 /Users/pbulk/build/games/imaze/work/imaze && pax -O -rf /Volumes/data/distfiles/imaze-sounds.tar