=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tuxracer-0.61nb16 --- ./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. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /opt/pkg/bin/mksh ./config.status creating config.h config.h is unchanged --- config.h --- --- 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.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_data.c:94:11: warning: variable 'temp_record_ptr' set but not used [-Wunused-but-set-variable] char *temp_record_ptr; ^ audio_data.c:350:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio_data.c:378:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio_data.c:405:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio_data.c:432:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio_data.c:464:12: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ --- audio.o --- audio.c:356:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio.c:402:13: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ audio.c:544:13: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool_t found; ^ --- audio_data.o --- 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] Tcl_CreateCommand (ip, "tux_load_sound", load_sound_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_load_music", load_music_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- audio.o --- 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] Tcl_CreateCommand (ip, "tux_bind_sounds", bind_sounds_cb, 0,0); ^~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_bind_music", bind_music_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- audio_data.o --- 8 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 --- audio.o --- 5 warnings generated. --- 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 --- 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 -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 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] rtn = Tcl_SplitList(ip, arg, num_vertices, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] rtn = Tcl_SplitList(ip, arg, &num_vertices, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] rtn = Tcl_SplitList(ip, arg, num_polygons, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] rtn = Tcl_SplitList(ip, argv[i+1], &num_col, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] rtn = Tcl_SplitList(ip, argv[i+1], &num_col, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] rtn = Tcl_SplitList(ip, *argv, &num_col, &indices); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] Tcl_CreateCommand (ip, "tux_course_dim", course_dim_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_angle", angle_cb, 0,0); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_elev_scale", elev_scale_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_elev", elev_cb, 0,0); ^~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_terrain", terrain_cb, 0,0); ^~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_trees", trees_cb, 0,0); ^~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_tree_size", tree_size_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_tree_poly", tree_poly_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_bgnd_img", bgnd_img_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_tree_tex", tree_tex_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_ice_tex", ice_tex_cb, 0,0); ^~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_rock_tex", rock_tex_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_snow_tex", snow_tex_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_start_pt", start_pt_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_friction", friction_cb, 0,0); ^~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_course_author", course_author_cb, 0,0); ^~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_course_name", course_name_cb, 0,0); ^~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_base_height_value", base_height_value_cb, 0,0); ^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_tree_props", tree_props_cb, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_item_spec", item_spec_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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 --- 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] if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, argv[1], &num_courses, &list ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, *argv, &num_races, &races ) == TCL_ERROR ) { ^~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, string, &argc, &argv ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, *argv, &num_cups, &cups ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] if ( Tcl_SplitList( ip, argv[1], &num_events, &list ) == TCL_ERROR ) { ^~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:722:21: note: passing argument to parameter 'argvPtr' here 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] Tcl_CreateCommand (ip, "tux_open_courses", open_courses_cb, 0,0); ^~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_events", events_cb, 0,0); ^~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] get_race_conditions_cb, 0,0); ^~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- course_quad.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_load.o --- 26 warnings generated. --- course_render.o --- --- 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 --- 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_quad.o --- course_quad.cpp:88:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_debug( DEBUG_QUADTREE, "nodes = %d\n", root->CountNodes()); ^ course_quad.cpp:89:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_debug( DEBUG_QUADTREE, "max error = %g\n", ^ course_quad.cpp:94:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Culling unnecessary nodes (detail factor = %d)...\n", ^ course_quad.cpp:99:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_debug( DEBUG_QUADTREE, "nodes = %d\n", root->CountNodes()); ^ course_quad.cpp:100:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_debug( DEBUG_QUADTREE, "max error = %g\n", ^ 5 warnings generated. --- 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- credits.o --- credits.c:270:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- course_render.o --- course_render.c:600:13: warning: variable 'left_edge_plane' set but not used [-Wunused-but-set-variable] 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] plane_t left_edge_plane, right_edge_plane; ^ --- credits.o --- 1 warning generated. --- 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- course_render.o --- 2 warnings generated. --- event_select.o --- --- file_util.o --- --- 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 --- 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 --- event_select.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- file_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- event_select.o --- event_select.c:167:12: warning: variable 'cup_list' set but not used [-Wunused-but-set-variable] list_t cup_list; ^ event_select.c:527:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- 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 --- event_select.o --- 2 warnings generated. --- 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 --- fonts.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- fps.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] Tcl_CreateCommand (ip, "tux_fog", fog_cb, 0,0); ^~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ 1 warning generated. --- 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- fonts.o --- fonts.c:184:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] bool_t result; ^ 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] Tcl_CreateCommand (ip, "tux_load_font", load_font_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_bind_font", bind_font_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- fps.o --- fps.c:28:23: warning: unused variable 'text_colour' [-Wunused-const-variable] static const colour_t text_colour = { 0.0, 0.0, 0.0, 1.0 }; ^ 1 warning 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 --- fonts.o --- 3 warnings generated. --- 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_logic_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_type_select.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] val = Tcl_GetVar( g_game.tcl_interp, p->name, TCL_GLOBAL_ONLY ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_config.c:170:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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] 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] 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] 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] 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] 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] ret = Tcl_SetVar( g_game.tcl_interp, p->name, buff, TCL_GLOBAL_ONLY ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] Tcl_CreateCommand (ip, "tux_get_param", get_param_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_set_param", set_param_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- game_type_select.o --- game_type_select.c:260:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- 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 --- 1 warning 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 --- game_over.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- gauss.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- game_over.o --- game_over.c:310:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- game_config.o --- 10 warnings generated. --- 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 --- game_over.o --- 1 warning generated. --- 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 --- 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 --- 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: 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 --- hud.o --- --- hier_util.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- hier_cb.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_util.o --- hier_util.c:161:9: warning: variable 'base_divisions' set but not used [-Wunused-but-set-variable] int base_divisions; ^ hier_util.c:246:14: warning: variable 'old_len' set but not used [-Wunused-but-set-variable] scalar_t old_len; ^ --- 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] Tcl_CreateCommand(ip, "tux_rotate", tux_rotate, 0,0); ^~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_translate", tux_translate, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ 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] Tcl_CreateCommand(ip, "tux_scale", tux_scale, 0,0); ^~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_sphere", tux_sphere, 0,0); ^~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ 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] Tcl_CreateCommand(ip, "tux_transform", tux_transform, 0,0); ^~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_material", tux_material, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_surfaceproperty", tux_surfaceproperty, 0,0); ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_shadow", tux_shadow, 0,0); ^~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand(ip, "tux_eye", tux_eye, 0,0); ^~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] --- joystick.o --- --- 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] 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 --- 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 --- 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: 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 --- 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] Tcl_CreateCommand (ip, "tux_key_frame", key_frame_cb, 0,0); ^~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here const char *cmdName, Tcl_CmdProc *proc, ^ --- 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 --- keyframe.o --- 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 --- 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] --- listbox.o --- 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] 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] 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] Tcl_CreateCommand (ip, "tux_course_light", course_light_cb, 0,0); ^~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] int x_org, y_org; ^ loading.c:59:16: warning: variable 'y_org' set but not used [-Wunused-but-set-variable] int x_org, y_org; ^ 2 warnings generated. --- mirror_course.o --- --- 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 -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: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- mirror_course.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- nmrcl.o --- --- os_util.o --- --- 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 --- paused.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- phys_sim.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] Tcl_CreateCommand (ip, "tux_particle_colour", particle_colour_cb, 0,0); ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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] Tcl_CreateCommand (ip, "tux_particle_color", particle_colour_cb, 0,0); ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/games/tuxracer/work/.buildlink/include/tclDecls.h:303:39: note: passing argument to parameter 'proc' here 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 --- paused.o --- paused.c:182:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- phys_sim.o --- phys_sim.c:351:15: warning: variable 'elevation' set but not used [-Wunused-but-set-variable] scalar_t *elevation; ^ phys_sim.c:427:20: warning: variable 'yidx' set but not used [-Wunused-but-set-variable] scalar_t xidx, yidx; ^ phys_sim.c:427:14: warning: variable 'xidx' set but not used [-Wunused-but-set-variable] scalar_t xidx, yidx; ^ phys_sim.c:724:9: warning: variable 'item_type' set but not used [-Wunused-but-set-variable] int item_type; ^ --- paused.o --- 1 warning generated. --- preview.o --- --- phys_sim.o --- phys_sim.c:1261:10: warning: variable 'unclamped_nml_f' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if ( dist_from_surface <= -comp_depth ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phys_sim.c:1304:26: note: uninitialized use occurs here plyr->normal_force = unclamped_nml_f; ^~~~~~~~~~~~~~~ phys_sim.c:1261:5: note: remove the 'if' if its condition is always true if ( dist_from_surface <= -comp_depth ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phys_sim.c:1207:5: note: variable 'unclamped_nml_f' is declared here vector_t unclamped_nml_f; /* unclamped normal force (for damage calc) */ ^ --- 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 --- pic.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- preview.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- 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 --- phys_sim.o --- 5 warnings generated. --- 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 --- 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 --- quadgeom.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- quadtree.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] --- race_select.o --- clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] race_select.c:311:18: warning: variable 'race_data' set but not used [-Wunused-but-set-variable] race_data_t *race_data; ^ --- quadgeom.o --- quadgeom.cpp:155:7: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' # define FINITE(x) (finite(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:439:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ --- race_select.o --- race_select.c:1278:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ --- quadgeom.o --- quadgeom.cpp:155:24: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' # define FINITE(x) (finite(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:439:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ quadgeom.cpp:155:41: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? if (!FINITE(x[0]) || !FINITE(x[1]) || !FINITE(x[2])) { ^ ./tuxracer.h:136:23: note: expanded from macro 'FINITE' # define FINITE(x) (finite(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:439:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ 3 errors generated. --- quadtree.o --- quadtree.cpp:103:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_debug( DEBUG_QUADTREE, "initializing root node" ); ^ quadtree.cpp:106:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (!get_texture_binding("snow", &(TexId[Snow]))) { ^ quadtree.cpp:109:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (!get_texture_binding("ice", &TexId[Ice])) { ^ quadtree.cpp:112:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (!get_texture_binding("rock", &TexId[Rock])) { ^ quadtree.cpp:115:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if ( !get_texture_binding( "terrain_envmap", &EnvmapTexId ) ) { ^ --- quadgeom.o --- *** [quadgeom.o] Error code 1 bmake[2]: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61/src --- quadtree.o --- quadtree.cpp:438:9: warning: variable 'max_type' set but not used [-Wunused-but-set-variable] int max_type = 0; ^ --- race_select.o --- 2 warnings generated. --- quadtree.o --- 6 warnings generated. 1 error bmake[2]: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61/src *** [all-recursive] Error code 1 bmake[1]: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 1 error bmake[1]: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 *** [all-recursive-am] Error code 2 bmake: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 1 error bmake: stopped in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/games/tuxracer *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/games/tuxracer