ci-task: ae23be30-e2b9-4a27-b9ee-36a799d581b8 package: libminifb version: 2022.11.12 toolchain: public-0.15.0 config: macos_12-clang_13.1-O3 machine: macos_12-clang_13.1 (Mac OS "Monterey" 12.5 with Xcode 13.4 Clang 13.1.6 (clang-1316.0.21.2.5/darwin21.6.0)) target: x86_64-apple-darwin21.6.0 timestamp: 2023-01-23 14:16:46.097854750 UTC update: error cd /private/tmp/build/ # step id: bpkg.update 2023-01-23 14:16:30 UTC bpkg -v update --build-option=--stat libminifb b -v --stat update('./libminifb-2022.11.12/') mkdir libminifb-2022.11.12/src/ mkdir libminifb-2022.11.12/tests/basics/ clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_common.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_common.c clang++ -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_cpp.a.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_internal.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_internal.c clang++ -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_cpp.dylib.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_timer.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_timer.c clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/noise.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/noise.c clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/input_events.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events.c mkdir libminifb-2022.11.12/include/ clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/multiple_windows.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/multiple_windows.c clang++ -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/input_events_cpp.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/hidpi.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/hidpi.c In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))27 : ^ note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))):1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : ^19 :41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined19 : ^41 : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69 __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 27 ^: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:21: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))41 : ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ 21/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h::6441::24 :warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_char_input_callback (std::function func, struct mfb_window *window); __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedwarning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:41: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] ^ void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined41 : ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69In file included from :/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp27::1 : note: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h'function' has been explicitly marked deprecated here: 24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window);note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:2752:: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] note: 'function' has been explicitly marked deprecated here friend void mfb_set_active_callback (std::function func, struct mfb_window *window);template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :64:24:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :note: 69expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION': 27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:57:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h friend void mfb_set_resize_callback (std::function func, struct mfb_window *window);: 57 ^: 52: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 69:27: note: 'function' has been explicitly marked deprecated here friend void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined69 ^ :/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h27: note: 'function' has been explicitly marked deprecated here :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: friend void mfb_set_close_callback (std::function func, struct mfb_window *window);note: 'function' has been explicitly marked deprecated here ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined'function' has been explicitly marked deprecated here ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedexpanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cppIn file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:59:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h ^ :59:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:5224: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 1 ^: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))'function' has been explicitly marked deprecated here ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))1 : ^/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :61:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: In file included from 'function' has been explicitly marked deprecated here/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:61:52: warning: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:62:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined62 : ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h52:: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 69 ^: 27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:In file included from 27/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:: 1note: : 'function' has been explicitly marked deprecated here/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10 std::function m_active;: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here std::function m_active; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^note: 'function' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:97:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from std::function m_resize; ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h::691:: 27/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:: 97note: :'function' has been explicitly marked deprecated here10 : warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ std::function m_resize; /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 64:24: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.hnote: :expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION'69 :27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] 27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:99:81: error: implicit instantiation of undefined template 'std::function' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: std::function m_keyboard;/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : ^99 :81: error: implicit instantiation of undefined template 'std::function' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ std::function m_keyboard; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:100:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.hIn file included from :/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp100::110: :/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :warning: 102'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ std::function m_mouse_move; ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :69:27/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:: 69note: :'function' has been explicitly marked deprecated here27 : note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h: 101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: In file included from template is declared here/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedimplicit instantiation of undefined template 'std::function' ^ std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here In file included from template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:102:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_mouse_move; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: implicit instantiation of undefined template 'std::function' std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:132:26: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: stub->m_close = std::bind(method, obj, _1);1 : ~~~~~^~~~/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : rand132 :26: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdliberror: :no member named 'bind' in namespace 'std'; did you mean 'rand'?122 :9: note: 'rand' declared here stub->m_close = std::bind(method, obj, _1); ~~~~~^~~~using ::rand _LIBCPP_USING_IF_EXISTS; ^ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp::11: : /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h::142142::2929:: error: error: no member named 'bind' in namespace 'std'; did you mean 'rand'?no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS;In file included from ^/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/fullscreen.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/fullscreen.c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:11:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] stub_vector() = default; ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:14:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:19:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:97:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_active_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:11:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] stub_vector() = default; ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:14:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:19:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:97:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_active_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:101:27: error: no member named 'bind' in namespace 'std' stub->m_active = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:107:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_resize_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:101:27: error: no member named 'bind' in namespace 'std' stub->m_active = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:107:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_resize_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:111:27: error: no member named 'bind' in namespace 'std' stub->m_resize = std::bind(func, _1, _2, _3); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:117:29: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_close_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:111:27: error: no member named 'bind' in namespace 'std' stub->m_resize = std::bind(func, _1, _2, _3); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:117:29: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_close_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:121:26: error: no member named 'bind' in namespace 'std' stub->m_close = std::bind(func, _1); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:96: error: implicit instantiation of undefined template 'std::function' mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:32: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:131:29: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_keyboard = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:121:26: error: no member named 'bind' in namespace 'std' stub->m_close = std::bind(func, _1); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:137:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_char_input_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:96: error: implicit instantiation of undefined template 'std::function' mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: :template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:32: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:131:29: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_keyboard = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:137:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_char_input_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:141:31: error: no member named 'bind' in namespace 'std' stub->m_char_input = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:109: error: implicit instantiation of undefined template 'std::function' mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:36: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:151:30: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_mouse_btn = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:157:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_move_callback(std::function func, struct mfb_window *window) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:141:31: error: no member named 'bind' in namespace 'std' stub->m_char_input = std::bind(func, _1, _2); ~~~~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp ^: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' 147:109: error: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ implicit instantiation of undefined template 'std::function' mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:36: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:151:30: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_mouse_btn = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:157:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_move_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 31 warnings and 20 errors generated. fatal error: too many errors emitted, stopping now [-ferror-limit=] 31 warnings and 20 errors generated. clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_timer.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_timer.c clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_internal.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_internal.c clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_common.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_common.c In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:19:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:21:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:57:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:59:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:61:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:62:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_active; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:97:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_resize; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:99:81: error: implicit instantiation of undefined template 'std::function' std::function m_keyboard; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:100:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:102:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_mouse_move; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: implicit instantiation of undefined template 'std::function' std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:132:26: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_close = std::bind(method, obj, _1); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:142:29: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:225:40: error: no member named 'bind' in namespace 'std' mfb_set_active_callback (std::bind(&Events::active, &e, _1, _2), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:226:40: error: no member named 'bind' in namespace 'std' mfb_set_resize_callback (std::bind(&Events::resize, &e, _1, _2, _3), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:227:40: error: no member named 'bind' in namespace 'std' mfb_set_close_callback (std::bind(&Events::close, &e, _1), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:228:40: error: no member named 'bind' in namespace 'std' mfb_set_keyboard_callback (std::bind(&Events::keyboard, &e, _1, _2, _3, _4), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:229:40: error: no member named 'bind' in namespace 'std' mfb_set_char_input_callback (std::bind(&Events::char_input, &e, _1, _2), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:230:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_button_callback(std::bind(&Events::mouse_button, &e, _1, _2, _3, _4), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:231:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_move_callback (std::bind(&Events::mouse_move, &e, _1, _2, _3), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:232:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_scroll_callback(std::bind(&Events::mouse_scroll, &e, _1, _2, _3, _4), window); ~~~~~^ 21 warnings and 19 errors generated. info: failed to update dir{libminifb-2022.11.12/} build statistics: thread_max_active 4 thread_max_total 128 thread_helpers 8 thread_max_waiting 5 task_queue_depth 16 task_queue_full 0 wait_queue_slots 53 wait_queue_collisions 0 phase_switch_contention 0 bpkg update exited with code 1