WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tuxracer-0.61nb17 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. cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /opt/pkg/bin/mksh ./config.status creating config.h config.h is unchanged /opt/pkg/bin/bmake all-recursive Making all in src 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 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] 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.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, ^ 5 warnings generated. 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 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_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, ^ 8 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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:721: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:721: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:721: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:721: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:721: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:721: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, ^ 26 warnings generated. 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_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:721: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:721: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:721: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:721: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:721: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:721: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:721: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:721: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, ^ 11 warnings generated. 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_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. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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; ^ 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; ^ 2 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] credits.c:270:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ 1 warning generated. 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] 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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; ^ 2 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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, ^ 3 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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. 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] 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, ^ 10 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] game_type_select.c:260:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ 1 warning generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] game_over.c:310:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ 1 warning generated. 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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; ^ 2 warnings generated. 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] intro.c:173:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ 1 warning generated. 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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, ^ 1 warning generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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, ^ 1 warning generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 ); ^~~~~~~~~~~~~~~~ 2 warnings generated. 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] paused.c:182:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status = 0; ^ 1 warning generated. 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] phys_sim.c:351:15: warning: variable 'elevation' set but not used [-Wunused-but-set-variable] scalar_t *elevation; ^ phys_sim.c:427:14: warning: variable 'xidx' set but not used [-Wunused-but-set-variable] scalar_t xidx, yidx; ^ phys_sim.c:427:20: warning: variable 'yidx' 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; ^ 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) */ ^ 5 warnings generated. 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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] 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 clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] 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)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/math.h:452:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ 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)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/math.h:452: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)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/math.h:452:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ 3 errors generated. *** [quadgeom.o] Error code 1 bmake[2]: stopped making "all" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61/src bmake[2]: 1 error bmake[2]: stopped making "all" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 *** [all-recursive-am] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/games/tuxracer/work/tuxracer-0.61 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/tuxracer *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/tuxracer