ci-task: ae23be30-e2b9-4a27-b9ee-36a799d581b8 package: libminifb version: 2022.11.12 toolchain: public-0.15.0 config: macos_12-clang_13.1-static_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:18:15.905813376 UTC update: error cd /private/tmp/build/ # step id: bpkg.update 2023-01-23 14:17:59 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/ 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_STATIC -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 clang++ -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_STATIC -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_STATIC -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_STATIC -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/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_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_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/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_STATIC -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 clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_STATIC -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 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. 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); ^ /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: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/src/MiniFB_cpp.cpp: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 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: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/src/MiniFB_cpp.cpp:1: /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/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] 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/src/MiniFB_cpp.cpp:1: /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/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: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: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/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] 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/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: 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: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/src/MiniFB_cpp.cpp: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 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: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/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] 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/src/MiniFB_cpp.cpp: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: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: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/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] 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/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: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' 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.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: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'? 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/src/MiniFB_cpp.cpp:1: /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/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: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; ^ /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' __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: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: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) { ^ /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. info: failed to update dir{libminifb-2022.11.12/} build statistics: thread_max_active 4 thread_max_total 128 thread_helpers 17 thread_max_waiting 7 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