ci-task: ae23be30-e2b9-4a27-b9ee-36a799d581b8 package: libminifb version: 2022.11.12 toolchain: public-0.15.0 config: macos_11-clang_13.0 machine: macos_11-clang_13.0 (Mac OS "Big Sur" 11.4 with Xcode 13.0.0 Clang 13.0.0 (clang-1300.0.29.3/darwin20.5.0)) target: x86_64-apple-darwin20.5.0 timestamp: 2023-01-23 14:13:44.904292851 UTC update: error cd /private/tmp/build/ # step id: bpkg.update 2023-01-23 14:13:31 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_STATIC_BUILD -Wno-cast-function-type -Wall -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 -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 -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_SHARED_BUILD -Wno-cast-function-type -Wall -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 warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] 1 warning 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_SHARED_BUILD -Wno-cast-function-type -Wall -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 1 warning generated. clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -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 warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] 1 warning generated. clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -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 -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 -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 -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_SHARED -Wall -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 -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 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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1444: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:1439: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:1444: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:1444: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:1439: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:1444: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: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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: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:125:9: note: 'rand' declared here using ::rand; ^ 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:1444: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:1439: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:1444: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:1439: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] 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 friend void mfb_set_close_callback (std::function func, struct mfb_window *window);: no member named 'bind' in namespace 'std'; did you mean 'rand'? ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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:1439: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:1444: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:1439: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:1444: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:1439:24: stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:125:9: note: 'rand' declared here using ::rand; ^ 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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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: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:125:9: note: 'rand' declared here using ::rand; ^ 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:1444: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:1439: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:1444: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:1439: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: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:125:9: note: 'rand' declared here using ::rand; ^ 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:1444: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:1439: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:1444: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:1444: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:1439: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:1444: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:1444: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:1439: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:1444: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: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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 1 warning 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 -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 warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] 1 warning 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 -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 /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:1444: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:1439: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:1444: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:1439: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: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: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:19:36/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:1444:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined : warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) { ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439: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: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] warning: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option] /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:1444: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:1444: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:1439: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"))) ^ mfb_set_active_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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:1439: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:916: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:1444: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:1439: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:1444: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:1439: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:1444: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:1444: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:1439:24: note/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:111:27:: 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"))) ^ 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:1444: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:1439: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:916: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:1444: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:1439: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=] /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:1444: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:1444:27: note: 'function' has been explicitly marked deprecated here 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: 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] void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439:24: note: ^expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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: ^131:29 : /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439:24: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:916:1: note: 'find' declared here notefind(_InputIterator __first, _InputIterator __last, const _Tp& __value_) : 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:137:34: warning: 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:'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] 99mfb_set_char_input_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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/include/MiniFB_cpp.h: ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439:22:24:41: note: warningexpanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' : '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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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"))) ^ 32 warnings and 20 errors generated. 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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp52: :141:31: error: no member named 'bind' in namespace 'std' stub->m_char_input = std::bind(func, _1, _2); 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:1444: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:147:109: ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439:24: note: error: implicit instantiation of undefined template 'std::function' expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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) { __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:1444: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:In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp1439::24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' 1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.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"))) ^ 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:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444:27: note: 'function' has been explicitly marked deprecated here1 warning generated. template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439: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:916: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:1444:27: note: 'function' has been explicitly marked deprecated 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 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1439:24:/private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION': 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] __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_active; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:1444: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:1439: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:1444: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:1439: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:1444: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:1439: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:1444: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:1444: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:1439: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:1444: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:1444: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:1439: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.hfatal error: too many errors emitted, stopping now [-ferror-limit=] :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:1444:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ 32 warnings and 20 errors generated. 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ 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:125:9: note: 'rand' declared here using ::rand; ^ /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 12 thread_max_waiting 8 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