=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/tuxracer", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tuxracer-0.61nb17 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- alglib.o --- --- audio.o --- --- audio_data.o --- --- alglib.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c alglib.c --- audio.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c audio.c --- audio_data.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c audio_data.c --- alglib.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- audio_data.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- audio.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] audio.c:356:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] 356 | bool_t found; | ^ audio.c:402:13: warning: variable 'found' set but not used [-Wunused-but-set-variable] 402 | bool_t found; | ^ audio.c:544:13: warning: variable 'found' set but not used [-Wunused-but-set-variable] 544 | bool_t found; | ^ audio.c:780:47: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 780 | Tcl_CreateCommand (ip, "tux_bind_sounds", bind_sounds_cb, 0,0); | ^~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ audio.c:781:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 781 | Tcl_CreateCommand (ip, "tux_bind_music", bind_music_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- audio_data.o --- audio_data.c:94:11: warning: variable 'temp_record_ptr' set but not used [-Wunused-but-set-variable] 94 | char *temp_record_ptr; | ^ audio_data.c:350:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] 350 | bool_t found; | ^ audio_data.c:378:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] 378 | bool_t found; | ^ audio_data.c:405:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] 405 | bool_t found; | ^ audio_data.c:432:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] 432 | bool_t found; | ^ audio_data.c:464:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] 464 | bool_t found; | ^ audio_data.c:669:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 669 | Tcl_CreateCommand (ip, "tux_load_sound", load_sound_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ audio_data.c:670:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 670 | Tcl_CreateCommand (ip, "tux_load_music", load_music_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ 8 warnings generated. --- button.o --- --- audio.o --- 5 warnings generated. --- button.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c button.c --- course_load.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c course_load.c --- course_mgr.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c course_mgr.c --- button.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_load.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_mgr.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_load.o --- course_load.c:1052:46: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1052 | rtn = Tcl_SplitList(ip, arg, num_vertices, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1086:47: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1086 | rtn = Tcl_SplitList(ip, arg, &num_vertices, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1118:46: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1118 | rtn = Tcl_SplitList(ip, arg, num_polygons, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1352:51: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1352 | rtn = Tcl_SplitList(ip, argv[i+1], &num_col, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1375:51: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1375 | rtn = Tcl_SplitList(ip, argv[i+1], &num_col, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1534:47: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1534 | rtn = Tcl_SplitList(ip, *argv, &num_col, &indices); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_load.c:1636:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1636 | Tcl_CreateCommand (ip, "tux_course_dim", course_dim_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1637:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1637 | Tcl_CreateCommand (ip, "tux_angle", angle_cb, 0,0); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1638:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1638 | Tcl_CreateCommand (ip, "tux_elev_scale", elev_scale_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1639:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1639 | Tcl_CreateCommand (ip, "tux_elev", elev_cb, 0,0); | ^~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1640:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1640 | Tcl_CreateCommand (ip, "tux_terrain", terrain_cb, 0,0); | ^~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1641:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1641 | Tcl_CreateCommand (ip, "tux_trees", trees_cb, 0,0); | ^~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1642:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1642 | Tcl_CreateCommand (ip, "tux_tree_size", tree_size_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1643:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1643 | Tcl_CreateCommand (ip, "tux_tree_poly", tree_poly_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1644:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1644 | Tcl_CreateCommand (ip, "tux_bgnd_img", bgnd_img_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1645:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1645 | Tcl_CreateCommand (ip, "tux_tree_tex", tree_tex_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1646:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1646 | Tcl_CreateCommand (ip, "tux_ice_tex", ice_tex_cb, 0,0); | ^~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1647:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1647 | Tcl_CreateCommand (ip, "tux_rock_tex", rock_tex_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1648:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1648 | Tcl_CreateCommand (ip, "tux_snow_tex", snow_tex_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1649:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1649 | Tcl_CreateCommand (ip, "tux_start_pt", start_pt_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1650:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1650 | Tcl_CreateCommand (ip, "tux_friction", friction_cb, 0,0); | ^~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1651:49: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1651 | Tcl_CreateCommand (ip, "tux_course_author", course_author_cb, 0,0); | ^~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1652:47: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1652 | Tcl_CreateCommand (ip, "tux_course_name", course_name_cb, 0,0); | ^~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1653:53: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1653 | Tcl_CreateCommand (ip, "tux_base_height_value", base_height_value_cb, 0,0); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1654:47: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1654 | Tcl_CreateCommand (ip, "tux_tree_props", tree_props_cb, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_load.c:1655:46: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1655 | Tcl_CreateCommand (ip, "tux_item_spec", item_spec_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- course_mgr.o --- course_mgr.c:441:44: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 441 | if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:572:52: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 572 | if ( Tcl_SplitList( ip, argv[1], &num_courses, &list ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:647:44: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 647 | if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:895:44: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 895 | if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:932:49: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 932 | if ( Tcl_SplitList( ip, *argv, &num_races, &races ) == TCL_ERROR ) { | ^~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:1052:44: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1052 | if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:1089:48: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1089 | if ( Tcl_SplitList( ip, *argv, &num_cups, &cups ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:1263:51: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1263 | if ( Tcl_SplitList( ip, argv[1], &num_events, &list ) == TCL_ERROR ) { | ^~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:721:21: note: passing argument to parameter 'argvPtr' here 721 | CONST84 char ***argvPtr); | ^ course_mgr.c:1361:48: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1361 | Tcl_CreateCommand (ip, "tux_open_courses", open_courses_cb, 0,0); | ^~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_mgr.c:1362:42: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1362 | Tcl_CreateCommand (ip, "tux_events", events_cb, 0,0); | ^~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ course_mgr.c:1364:10: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1364 | get_race_conditions_cb, 0,0); | ^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- course_quad.o --- clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c course_quad.cpp clang++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_mgr.o --- 11 warnings generated. --- course_render.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c course_render.c --- course_load.o --- 26 warnings generated. --- credits.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c credits.c --- course_render.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- credits.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_render.o --- course_render.c:600:13: warning: variable 'left_edge_plane' set but not used [-Wunused-but-set-variable] 600 | plane_t left_edge_plane, right_edge_plane; | ^ course_render.c:600:30: warning: variable 'right_edge_plane' set but not used [-Wunused-but-set-variable] 600 | plane_t left_edge_plane, right_edge_plane; | ^ --- course_quad.o --- course_quad.cpp:88:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | print_debug( DEBUG_QUADTREE, "nodes = %d\n", root->CountNodes()); | ^ course_quad.cpp:89:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | print_debug( DEBUG_QUADTREE, "max error = %g\n", | ^ course_quad.cpp:94:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | "Culling unnecessary nodes (detail factor = %d)...\n", | ^ course_quad.cpp:99:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 99 | print_debug( DEBUG_QUADTREE, "nodes = %d\n", root->CountNodes()); | ^ course_quad.cpp:100:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 100 | print_debug( DEBUG_QUADTREE, "max error = %g\n", | ^ --- credits.o --- credits.c:270:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 270 | int status = 0; | ^ --- course_quad.o --- 5 warnings generated. --- credits.o --- 1 warning generated. --- debug.o --- --- error_util.o --- --- debug.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c debug.c --- error_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c error_util.c --- course_render.o --- 2 warnings generated. --- event_select.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c event_select.c --- error_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- debug.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- event_select.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- file_util.o --- --- event_select.o --- event_select.c:167:12: warning: variable 'cup_list' set but not used [-Wunused-but-set-variable] 167 | list_t cup_list; | ^ event_select.c:527:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 527 | int status = 0; | ^ --- file_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c file_util.c --- fog.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c fog.c --- event_select.o --- 2 warnings generated. --- fonts.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c fonts.c --- file_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- fog.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- fonts.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- fog.o --- fog.c:196:39: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] --- fonts.o --- fonts.c:184:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] 184 | bool_t result; | ^ --- fog.o --- 196 | Tcl_CreateCommand (ip, "tux_fog", fog_cb, 0,0); | ^~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- fonts.o --- fonts.c:449:47: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 449 | Tcl_CreateCommand (ip, "tux_load_font", load_font_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ fonts.c:450:47: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 450 | Tcl_CreateCommand (ip, "tux_bind_font", bind_font_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- fps.o --- --- fog.o --- 1 warning generated. --- game_config.o --- --- fps.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c fps.c --- game_config.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c game_config.c --- fonts.o --- 3 warnings generated. --- game_logic_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c game_logic_util.c --- fps.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_config.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_logic_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_config.o --- game_config.c:150:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 150 | val = Tcl_GetVar( g_game.tcl_interp, p->name, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- fps.o --- fps.c:28:23: warning: unused variable 'text_colour' [-Wunused-const-variable] 28 | static const colour_t text_colour = { 0.0, 0.0, 0.0, 1.0 }; | ^~~~~~~~~~~ --- game_config.o --- game_config.c:170:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 170 | ret = Tcl_SetVar( g_game.tcl_interp, p->name, new_val, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:187:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 187 | str_val = Tcl_GetVar( g_game.tcl_interp, p->name, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:208:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 208 | ret = Tcl_SetVar( g_game.tcl_interp, p->name, buff, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:226:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 226 | str_val = Tcl_GetVar( g_game.tcl_interp, p->name, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:248:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 248 | ret = Tcl_SetVar( g_game.tcl_interp, p->name, buff, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:267:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 267 | str_val = Tcl_GetVar( g_game.tcl_interp, p->name, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:298:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 298 | ret = Tcl_SetVar( g_game.tcl_interp, p->name, buff, TCL_GLOBAL_ONLY ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- fps.o --- 1 warning generated. --- game_type_select.o --- --- game_over.o --- --- game_config.o --- game_config.c:1159:45: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1159 | Tcl_CreateCommand (ip, "tux_get_param", get_param_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ game_config.c:1160:45: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 1160 | Tcl_CreateCommand (ip, "tux_set_param", set_param_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- game_type_select.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c game_type_select.c --- game_over.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c game_over.c --- game_type_select.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_over.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_config.o --- 10 warnings generated. --- gauss.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c gauss.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_type_select.o --- game_type_select.c:260:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 260 | int status = 0; | ^ --- game_over.o --- game_over.c:310:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 310 | int status = 0; | ^ --- game_type_select.o --- 1 warning generated. --- game_over.o --- 1 warning generated. --- gl_util.o --- --- hash.o --- --- gl_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c gl_util.c --- hash.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c hash.c --- gl_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hash.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hier.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c hier.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hier_cb.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c hier_cb.c --- hier_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c hier_util.c --- hier_cb.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hier_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hud.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c hud.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hier_cb.o --- hier_cb.c:361:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 361 | Tcl_CreateCommand(ip, "tux_rotate", tux_rotate, 0,0); | ^~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:362:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 362 | Tcl_CreateCommand(ip, "tux_translate", tux_translate, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- hier_util.o --- hier_util.c:161:9: warning: variable 'base_divisions' set but not used [-Wunused-but-set-variable] --- hier_cb.o --- hier_cb.c:363:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] --- hier_util.o --- 161 | int base_divisions; | ^ --- hier_cb.o --- 363 | Tcl_CreateCommand(ip, "tux_scale", tux_scale, 0,0); | ^~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:364:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 364 | Tcl_CreateCommand(ip, "tux_sphere", tux_sphere, 0,0); --- hier_util.o --- hier_util.c:246:14: warning: variable 'old_len' set but not used [-Wunused-but-set-variable] --- hier_cb.o --- | ^~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here --- hier_util.o --- 246 | scalar_t old_len; --- hier_cb.o --- 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- hier_util.o --- | ^ --- hier_cb.o --- hier_cb.c:365:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 365 | Tcl_CreateCommand(ip, "tux_transform", tux_transform, 0,0); | ^~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:366:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 366 | Tcl_CreateCommand(ip, "tux_material", tux_material, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:367:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 367 | Tcl_CreateCommand(ip, "tux_surfaceproperty", tux_surfaceproperty, 0,0); | ^~~~~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:368:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 368 | Tcl_CreateCommand(ip, "tux_shadow", tux_shadow, 0,0); | ^~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ hier_cb.c:369:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 369 | Tcl_CreateCommand(ip, "tux_eye", tux_eye, 0,0); | ^~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ 9 warnings generated. --- image.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c image.c --- hier_util.o --- 2 warnings generated. --- intro.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c intro.c --- image.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- intro.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- joystick.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c joystick.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- intro.o --- intro.c:173:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 173 | int status = 0; | ^ 1 warning generated. --- keyboard.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c keyboard.c --- keyboard_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c keyboard_util.c --- keyboard.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- keyboard_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- keyframe.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c keyframe.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- lights.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c lights.c --- list.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c list.c --- lights.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- list.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- keyframe.o --- keyframe.c:247:45: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 247 | Tcl_CreateCommand (ip, "tux_key_frame", key_frame_cb, 0,0); | ^~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ 1 warning generated. --- listbox.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c listbox.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- list.o --- list.c:308:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 308 | int size = 0; | ^ list.c:350:42: warning: cast to smaller integer type 'int' from 'list_elem_data_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 350 | printf( "value of elem %d: %d\n", size, (int) node->data ); | ^~~~~~~~~~~~~~~~ --- lights.o --- lights.c:266:48: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 266 | Tcl_CreateCommand (ip, "tux_course_light", course_light_cb, 0,0); | ^~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ --- list.o --- 2 warnings generated. --- loading.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c loading.c --- lights.o --- 1 warning generated. --- loop.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c loop.c --- loading.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- loop.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- main.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c main.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- loading.o --- loading.c:59:9: warning: variable 'x_org' set but not used [-Wunused-but-set-variable] 59 | int x_org, y_org; | ^ loading.c:59:16: warning: variable 'y_org' set but not used [-Wunused-but-set-variable] 59 | int x_org, y_org; | ^ 2 warnings generated. --- mirror_course.o --- --- multiplayer.o --- --- mirror_course.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c mirror_course.c --- multiplayer.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c multiplayer.c --- mirror_course.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- multiplayer.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- nmrcl.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c nmrcl.c --- os_util.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c os_util.c --- nmrcl.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- os_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- part_sys.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c part_sys.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- paused.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c paused.c --- phys_sim.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c phys_sim.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- paused.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- part_sys.o --- part_sys.c:300:51: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 300 | Tcl_CreateCommand (ip, "tux_particle_colour", particle_colour_cb, 0,0); | ^~~~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ part_sys.c:301:50: warning: incompatible function pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)') [-Wincompatible-function-pointer-types] 301 | Tcl_CreateCommand (ip, "tux_particle_color", particle_colour_cb, 0,0); | ^~~~~~~~~~~~~~~~~~ /var/tmp/work/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 303 | const char *cmdName, Tcl_CmdProc *proc, | ^ 2 warnings generated. --- pic.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c pic.c --- phys_sim.o --- phys_sim.c:351:15: warning: variable 'elevation' set but not used [-Wunused-but-set-variable] 351 | scalar_t *elevation; | ^ --- paused.o --- paused.c:182:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 182 | int status = 0; | ^ --- phys_sim.o --- phys_sim.c:427:14: warning: variable 'xidx' set but not used [-Wunused-but-set-variable] 427 | scalar_t xidx, yidx; | ^ phys_sim.c:427:20: warning: variable 'yidx' set but not used [-Wunused-but-set-variable] 427 | scalar_t xidx, yidx; | ^ --- pic.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- phys_sim.o --- phys_sim.c:724:9: warning: variable 'item_type' set but not used [-Wunused-but-set-variable] 724 | int item_type; | ^ phys_sim.c:1261:10: warning: variable 'unclamped_nml_f' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1261 | if ( dist_from_surface <= -comp_depth ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phys_sim.c:1304:26: note: uninitialized use occurs here 1304 | plyr->normal_force = unclamped_nml_f; | ^~~~~~~~~~~~~~~ phys_sim.c:1261:5: note: remove the 'if' if its condition is always true 1261 | if ( dist_from_surface <= -comp_depth ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phys_sim.c:1207:5: note: variable 'unclamped_nml_f' is declared here 1207 | vector_t unclamped_nml_f; /* unclamped normal force (for damage calc) */ | ^ --- paused.o --- 1 warning generated. --- preview.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c preview.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- phys_sim.o --- 5 warnings generated. --- quadgeom.o --- clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c quadgeom.cpp --- quadtree.o --- --- quadgeom.o --- clang++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- quadtree.o --- clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c quadtree.cpp clang++: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- race_select.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/SDL -I/opt/pkg/include -DTUXRACER_NO_ASSERT=1 -DTCL_HEADER=\ -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DDATA_DIR=\"/opt/pkg/share/tuxracer\" -DGLX_GLXEXT_PROTOTYPES -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c race_select.c clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- quadgeom.o --- quadgeom.cpp:155:7: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? 155 | if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { | ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' 136 | # define FINITE(x) (finite(x)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h:419:20: note: 'isfinite' declared here 419 | using std::__math::isfinite; | ^ quadgeom.cpp:155:24: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? 155 | if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { | ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' 136 | # define FINITE(x) (finite(x)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h:419:20: note: 'isfinite' declared here 419 | using std::__math::isfinite; | ^ quadgeom.cpp:155:41: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? 155 | if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { | ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' 136 | # define FINITE(x) (finite(x)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h:419:20: note: 'isfinite' declared here 419 | using std::__math::isfinite; | ^ 3 errors generated. *** [quadgeom.o] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61/src --- race_select.o --- race_select.c:311:18: warning: variable 'race_data' set but not used [-Wunused-but-set-variable] 311 | race_data_t *race_data; | ^ race_select.c:1278:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1278 | int status = 0; | ^ --- quadtree.o --- quadtree.cpp:103:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 103 | print_debug( DEBUG_QUADTREE, "initializing root node" ); | ^ quadtree.cpp:106:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | if (!get_texture_binding("snow", &(TexId[Snow]))) { | ^ quadtree.cpp:109:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | if (!get_texture_binding("ice", &TexId[Ice])) { | ^ quadtree.cpp:112:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 112 | if (!get_texture_binding("rock", &TexId[Rock])) { | ^ quadtree.cpp:115:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 115 | if ( !get_texture_binding( "terrain_envmap", &EnvmapTexId ) ) { | ^ quadtree.cpp:438:9: warning: variable 'max_type' set but not used [-Wunused-but-set-variable] 438 | int max_type = 0; | ^ --- race_select.o --- 2 warnings generated. --- quadtree.o --- 6 warnings generated. bmake[2]: 1 error bmake[2]: stopped making "all" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61 *** [all-recursive-am] Error code 2 bmake: stopped making "all" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/games/tuxracer/work/tuxracer-0.61 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/tuxracer *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/tuxracer