ci-task: ae23be30-e2b9-4a27-b9ee-36a799d581b8 package: libminifb version: 2022.11.12 toolchain: public-0.15.0 config: macos_12-clang_13.1-O3 machine: macos_12-clang_13.1 (Mac OS "Monterey" 12.5 with Xcode 13.4 Clang 13.1.6 (clang-1316.0.21.2.5/darwin21.6.0)) target: x86_64-apple-darwin21.6.0 timestamp: 2023-01-23 14:16:46.097854750 UTC configure: success update: error cd /private/tmp/ # step id: bpkg.create 2023-01-23 14:16:05 UTC bpkg -V create -d build cc "config.c=clang " "config.cxx=clang++ " "config.cc.coptions=-w -O3" config.test.timeout=1500 config.install.root=/opt/private config.install.sudo=sudo config.bin.rpath=/opt/private/lib mkdir -p build/ b --verbose 3 config.c=clang config.cxx=clang++ "config.cc.coptions=-w -O3" config.test.timeout=1500 config.install.root=/opt/private config.install.sudo=sudo config.bin.rpath=/opt/private/lib "create('build/', cc)" mkdir /private/tmp/build/build/ cat >/private/tmp/build/build/bootstrap.build cat >/private/tmp/build/build/root.build cat >/private/tmp/build/buildfile LC_ALL=C clang -v clang -w -O3 -dumpmachine clang -w -O3 -x c -E - bin @/private/tmp/build/ target x86_64-apple-darwin21.6.0 LC_ALL=C ar --version LC_ALL=C ar bin.ar @/private/tmp/build/ ar ar@/usr/bin/ar id generic version 0.0.0 major 0 minor 0 patch 0 signature usage: ar -d [-TLsv] archive file ... checksum f6f6367287352e5402b713d71868249789840056b0efd5863aed584737201141 LC_ALL=C clang -print-search-dirs LC_ALL=C clang -x c -v -E - c @/private/tmp/build/ c clang@/usr/bin/clang id clang-apple version 12.0.0 major 12 minor 0 patch 0 variant: version 13.1.6 (clang-1316.0.21.2.5) major 13 minor 1 patch 6 build (clang-1316.0.21.2.5) signature Apple clang version 13.1.6 (clang-1316.0.21.2.5) checksum 96968d6aa4af82ee9f6ed1bd82a17e0c6b445fa4cfbcd3d47d97d45295f2b3b2 target x86_64-apple-darwin21.6.0 runtime compiler-rt stdlib apple hdr dirs /usr/local/include/ /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ /Library/Developer/CommandLineTools/usr/include/ lib dirs /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/ -- /usr/local/lib/ LC_ALL=C clang++ -v clang++ -w -O3 -dumpmachine clang++ -w -O3 -x c++ -E - clang++ -w -O3 -x c++ -E - LC_ALL=C clang++ -print-search-dirs LC_ALL=C clang++ -x c++ -v -E - cxx @/private/tmp/build/ cxx clang++@/usr/bin/clang++ id clang-apple version 12.0.0 major 12 minor 0 patch 0 variant: version 13.1.6 (clang-1316.0.21.2.5) major 13 minor 1 patch 6 build (clang-1316.0.21.2.5) signature Apple clang version 13.1.6 (clang-1316.0.21.2.5) checksum 96968d6aa4af82ee9f6ed1bd82a17e0c6b445fa4cfbcd3d47d97d45295f2b3b2 target x86_64-apple-darwin21.6.0 runtime compiler-rt stdlib libc++ c stdlib apple hdr dirs /usr/local/include/ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ /Library/Developer/CommandLineTools/usr/include/ lib dirs /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/ -- /usr/local/lib/ cat >/private/tmp/build/build/config.build mkdir build/.bpkg/ mkdir build/.bpkg/certs/ mkdir build/.bpkg/repos/ mkdir build/.bpkg/tmp/ created new configuration in /private/tmp/build/ uuid: 04ac9a54-93a5-4eff-9427-06440594694c type: target rmdir -r build/.bpkg/tmp/ # step id: bpkg.configure.add 2023-01-23 14:16:06 UTC bpkg -v add -d build https://github.com/b8u/minifb.git#master@a12a69e89f8f0e308a9935e1c454c34829466f5e added git:github.com/b8u/minifb#master@a12a69e89f8f0e308a9935e1c454c34829466f5e # step id: bpkg.configure.fetch 2023-01-23 14:16:06 UTC bpkg -v fetch -d build --fetch-timeout=60 --pkg-proxy=http://build-cache.lan --trust 70:64:FE:E4:E0:F3:60:F1:B4:51:E1:FA:12:5C:E0:B3:DB:DF:96:33:39:B9:2E:E5:C2:68:63:4C:A6:47:39:43 --trust-no fetching git:github.com/b8u/minifb#master@a12a69e89f8f0e308a9935e1c454c34829466f5e git --version git rev-parse --local-env-vars git init build/.bpkg/tmp/9d1ff789d64d hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /private/tmp/build/.bpkg/tmp/9d1ff789d64d/.git/ git -C build/.bpkg/tmp/9d1ff789d64d config remote.origin.url https://github.com/b8u/minifb.git git -C build/.bpkg/tmp/9d1ff789d64d config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* git -C build/.bpkg/tmp/9d1ff789d64d config --get remote.origin.url git -C build/.bpkg/tmp/9d1ff789d64d cat-file -e a12a69e89f8f0e308a9935e1c454c34829466f5e^{commit} git -C build/.bpkg/tmp/9d1ff789d64d config --get remote.origin.url curl -f -L -A "git/2.32.1 (Apple Git-133)" --max-time 60 https://github.com/b8u/minifb.git/info/refs?service=git-upload-pack % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 505 0 505 0 0 763 0 --:--:-- --:--:-- --:--:-- 776 fetching from https://github.com/b8u/minifb.git in 'build/.bpkg/tmp/9d1ff789d64d' git -c http.lowSpeedLimit=1 -c http.lowSpeedTime=60 -C build/.bpkg/tmp/9d1ff789d64d fetch --no-tags --no-recurse-submodules --depth 1 origin a12a69e89f8f0e308a9935e1c454c34829466f5e From https://github.com/b8u/minifb * branch a12a69e89f8f0e308a9935e1c454c34829466f5e -> FETCH_HEAD git -C build/.bpkg/tmp/9d1ff789d64d rev-parse --git-dir git -C build/.bpkg/tmp/9d1ff789d64d cat-file -e a12a69e89f8f0e308a9935e1c454c34829466f5e^{commit} git -C build/.bpkg/tmp/9d1ff789d64d show -s --format=%ct a12a69e89f8f0e308a9935e1c454c34829466f5e^{commit} git -C build/.bpkg/tmp/9d1ff789d64d reset --hard a12a69e89f8f0e308a9935e1c454c34829466f5e HEAD is now at a12a69e * stolen from glfw package. use c.libs for x11 git -C build/.bpkg/tmp/9d1ff789d64d clean -d -x -ff git -C build/.bpkg/tmp/9d1ff789d64d submodule--helper list git -C build/.bpkg/tmp/9d1ff789d64d submodule--helper name upstream b -v --version b --verbose 2 --no-external-modules -s info: 'build/.bpkg/tmp/9d1ff789d64d/libminifb/' fetching pkg:cppget.org/stable (prerequisite of git:github.com/b8u/minifb#master@a12a69e89f8f0e308a9935e1c454c34829466f5e) curl -f -L -A "bpkg/0.15.0 (MacOS; +https://build2.org) libbpkg/0.15.0 libbutl/0.15.0 curl" --max-time 60 --proxy http://build-cache.lan:80 http://pkg.cppget.org/1/stable/repositories.manifest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1797 100 1797 0 0 2543 0 --:--:-- --:--:-- --:--:-- 2585 100 1797 100 1797 0 0 2542 0 --:--:-- --:--:-- --:--:-- 2585 openssl x509 -sha256 -noout -fingerprint openssl x509 -noout -subject -dates -email -nameopt utf8,esc_ctrl,dump_nostr,dump_der,sname,sep_multiline info: certificate for repository pkg:cppget.org/stable authenticated by command line curl -f -L -A "bpkg/0.15.0 (MacOS; +https://build2.org) libbpkg/0.15.0 libbutl/0.15.0 curl" --max-time 60 --proxy http://build-cache.lan:80 http://pkg.cppget.org/1/stable/packages.manifest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 4417k 0 14228 0 0 20039 0 0:03:45 --:--:-- 0:03:45 20325 100 4417k 100 4417k 0 0 5426k 0 --:--:-- --:--:-- --:--:-- 5494k curl -f -L -A "bpkg/0.15.0 (MacOS; +https://build2.org) libbpkg/0.15.0 libbutl/0.15.0 curl" --max-time 60 --proxy http://build-cache.lan:80 http://pkg.cppget.org/1/stable/signature.manifest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 443 100 443 0 0 621 0 --:--:-- --:--:-- --:--:-- 631 openssl version openssl rsautl -verify -certin -inkey build/.bpkg/certs/7064fee4e0f360f1.pem 579 package(s) in 2 repository(s) # step id: bpkg.configure.build 2023-01-23 14:16:13 UTC bpkg -v build --configure-only --rebuild-checksum "" --yes -d build --fetch-timeout=600 --pkg-proxy=http://build-cache.lan --checkout-root /private/tmp/dist .../config.config.persist='config.cc.*'@unused=drop ".../config.cc.coptions=-Wall -O3" -- { config.libminifb.develop=false }+ libminifb/2022.11.12+0 b -v --version fetching libopengl-meta-1.0.0.tar.gz from pkg:cppget.org/stable checking out libminifb/ from git:github.com/b8u/minifb#a12a69e89f8f0e308a9935e1c454c34829466f5e config libminifb@/private/tmp/build/.bpkg/tmp/skeletons/libminifb-2022.11.12/ use_metal_api true use_inverted_y_on_macos false use_wayland_api false use_opengl_api false new libopengl-meta/1.0.0 (required by libminifb) new libminifb/2022.11.12 fetching libopengl-meta-1.0.0.tar.gz from pkg:cppget.org/stable curl -f -L -A "bpkg/0.15.0 (MacOS; +https://build2.org) libbpkg/0.15.0 libbutl/0.15.0 curl" --max-time 600 -o build/libopengl-meta-1.0.0.tar.gz --proxy http://build-cache.lan:80 http://pkg.cppget.org/1/stable/libopengl-meta/libopengl-meta-1.0.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3099 100 3099 0 0 4358 0 --:--:-- --:--:-- --:--:-- 4420 fetched libopengl-meta/1.0.0 gzip -dc build/libopengl-meta-1.0.0.tar.gz | tar -xf - -C build b --verbose 2 --no-external-modules -s info: 'build/libopengl-meta-1.0.0/' unpacked libopengl-meta/1.0.0 checking out libminifb/ from git:github.com/b8u/minifb#a12a69e89f8f0e308a9935e1c454c34829466f5e git --version git rev-parse --local-env-vars git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d reset --hard a12a69e89f8f0e308a9935e1c454c34829466f5e HEAD is now at a12a69e * stolen from glfw package. use c.libs for x11 git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d clean -d -x -ff git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper list git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper name upstream checking out libminifb/2022.11.12 git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d config --get remote.origin.url git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper init Submodule 'upstream' (https://github.com/emoon/minifb.git) registered for path 'upstream' git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d config --get remote.origin.url git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper list git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper name upstream git config --file /private/tmp/build/.bpkg/tmp/9d1ff789d64d/.gitmodules --get submodule.upstream.update git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d config --get submodule.upstream.url git config --file /private/tmp/build/.bpkg/tmp/9d1ff789d64d/.gitmodules --get submodule.upstream.url git init --separate-git-dir=/private/tmp/build/.bpkg/tmp/9d1ff789d64d/.git/modules/upstream /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /private/tmp/build/.bpkg/tmp/9d1ff789d64d/.git/modules/upstream/ git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream config remote.origin.url https://github.com/emoon/minifb.git git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream cat-file -e 5312cb7ca07115c918148131d296864b8d67e2d7^{commit} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream config --get remote.origin.url curl -f -L -A "git/2.32.1 (Apple Git-133)" --max-time 600 https://github.com/emoon/minifb.git/info/refs?service=git-upload-pack % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 34 0 0 49 0 --:--:-- --:--:-- --:--:-- 51 100 4567 0 4567 0 0 6590 0 --:--:-- --:--:-- --:--:-- 6878 fetching submodule 'upstream' from https://github.com/emoon/minifb.git in '/private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream' git -c http.lowSpeedLimit=1 -c http.lowSpeedTime=600 -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream fetch --no-tags --no-recurse-submodules --depth 1 origin 5312cb7ca07115c918148131d296864b8d67e2d7 From https://github.com/emoon/minifb * branch 5312cb7ca07115c918148131d296864b8d67e2d7 -> FETCH_HEAD git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream rev-parse --git-dir git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream cat-file -e 5312cb7ca07115c918148131d296864b8d67e2d7^{commit} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream show -s --format=%ct 5312cb7ca07115c918148131d296864b8d67e2d7^{commit} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream reset --hard 5312cb7ca07115c918148131d296864b8d67e2d7 HEAD is now at 5312cb7 Added function mfb_set_viewport_best_fit to calculate the best viewport for the user framebuffer width & height git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream clean -d -x -ff submodule path 'upstream': checked out '5312cb7ca07115c918148131d296864b8d67e2d7' git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d ls-files --stage -z git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 6246057017a9fcca051fb79d108e8d509bd2b1c6^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p a3cf035e45c5fd937a54291517192967cdc291fe^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p f1d5d79e173baaca8e5ae121d7f12d47d752da51^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p afb7c660a7ddee75767f7247110082395397bd8b^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p f2f24a472259f61c84a6d03c3d59e70b54cd1e96^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p a184fb7b4ce74b3633e443a88d7ab8310c3062ab^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p a4a813f494de961890dccf6ff0fbe1ef871c5caf^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p c9ef51851595d5d859b9ae6bd6559e9c82aed70a^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 81767472a15d7ce24e1755d33f255b51e295b130^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 202d753bdfd68715dc63fe5ab8d879035b7b4036^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 90f45f20b577a09224a8c113037bd0e776ea1806^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 2e0a7305a4e6d775c1e44e391fab1b6306d41dc5^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 9311293cdc062cc8efaa752cae983b2791fedf9d^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 706e6406b0ec75cb03da31f6355d824d067a6407^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 424258ce9505461d35bf1148c9e345d847296f0e^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p a5b3c4ac6bf7b0962ff4dc7d2a83f62c3792358f^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 2be7a7073a548dafe90f006e6866163a3e77877e^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p e6897bb44a8019dee7edab5f298764d69e77fd06^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p c1546327013aa3e359c27f6891d08e8ab3455640^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 3a7883ff2be9c7486e94cf1aba9b400e4b4b29d2^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 85323093c10ae7bd36afb7cd35abd3e14ce76067^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 0c97e5457c5e50447a1d25b6e45bd74f2d155328^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 88d8e77fedb4de86ff425c62733b42035c8caf1a^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 8f25d89dadfc174a617c47503434dae8f759ca25^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 65beecd8c3cc0c4a0fdef2abb3b2f22bce9f39e3^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p cb7ea76cd1cb89df3dfc9a05a85317fa8d41d685^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p de5de17e19694a290cd7cb1ce9053881b2730f3c^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 8fa01b5b0fc23ad1452771845b815b02e47b8e85^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 43c1a5ff5a7e64dd7cd245c23a63c5b49c5d49c5^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 4ebd593e1e7f4ae0d3f5fd641248042872182f7f^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 68000779661fbd211638b2511fd2048a9c251e1a^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p fccf1a1c6e6ea09c6b6fbfff150760e6227c8f3b^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p f41325b5097a0d579760b3d441bb6a8f956ae568^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 6538f940d1aeeadab5685d4152cb2f5d4c80e49e^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d cat-file -p 4f512760cea0b17e22c19d261fce29384cf54431^{object} git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper list git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d submodule--helper name upstream git -C /private/tmp/build/.bpkg/tmp/9d1ff789d64d/upstream ls-files --stage -z b -v --no-external-modules !config.dist.bootstrap=true config.dist.root='/private/tmp/dist/' dist('/private/tmp/build/.bpkg/tmp/9d1ff789d64d/libminifb/'@'/private/tmp/build/.bpkg/tmp/libminifb/') install -d -m 755 dist/libminifb-2022.11.12 install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/LICENSE dist/libminifb-2022.11.12 install -d -m 755 dist/libminifb-2022.11.12/include install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/export.h dist/libminifb-2022.11.12/include install -p -m 755 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/MiniFB_enums.h dist/libminifb-2022.11.12/include install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/buildfile dist/libminifb-2022.11.12/include install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/MiniFB.h dist/libminifb-2022.11.12/include install -p -m 755 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/MiniFB_cpp.h dist/libminifb-2022.11.12/include install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/include/MiniFB_ios.h dist/libminifb-2022.11.12/include install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/manifest dist/libminifb-2022.11.12 install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/buildfile dist/libminifb-2022.11.12 install -d -m 755 dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/fullscreen.c dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/buildfile dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/hidpi.c dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/noise.c dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/multiple_windows.c dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/input_events_cpp.cpp dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/basics/input_events.c dist/libminifb-2022.11.12/tests/basics install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/buildfile dist/libminifb-2022.11.12/tests install -d -m 755 dist/libminifb-2022.11.12/tests/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/build/root.build dist/libminifb-2022.11.12/tests/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/tests/build/bootstrap.build dist/libminifb-2022.11.12/tests/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/README.md dist/libminifb-2022.11.12 install -d -m 755 dist/libminifb-2022.11.12/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/build/root.build dist/libminifb-2022.11.12/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/build/export.build dist/libminifb-2022.11.12/build install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/build/bootstrap.build dist/libminifb-2022.11.12/build install -d -m 755 dist/libminifb-2022.11.12/src install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_linux.c dist/libminifb-2022.11.12/src install -p -m 755 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_cpp.cpp dist/libminifb-2022.11.12/src install -p -m 755 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_common.c dist/libminifb-2022.11.12/src install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/buildfile dist/libminifb-2022.11.12/src install -p -m 755 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_internal.h dist/libminifb-2022.11.12/src install -d -m 755 dist/libminifb-2022.11.12/src/wayland install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/wayland/WindowData_Way.h dist/libminifb-2022.11.12/src/wayland install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/wayland/WaylandMiniFB.c dist/libminifb-2022.11.12/src/wayland install -d -m 755 dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXWindow.m dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXView.h dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXViewDelegate.h dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/MacMiniFB.m dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/WindowData_OSX.h dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXWindow.h dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXView.m dist/libminifb-2022.11.12/src/macosx install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/macosx/OSXViewDelegate.m dist/libminifb-2022.11.12/src/macosx install -d -m 755 dist/libminifb-2022.11.12/src/gl install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/gl/MiniFB_GL.h dist/libminifb-2022.11.12/src/gl install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/gl/MiniFB_GL.c dist/libminifb-2022.11.12/src/gl install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/WindowData.h dist/libminifb-2022.11.12/src install -d -m 755 dist/libminifb-2022.11.12/src/x11 install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/x11/WindowData_X11.h dist/libminifb-2022.11.12/src/x11 install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/x11/X11MiniFB.c dist/libminifb-2022.11.12/src/x11 install -d -m 755 dist/libminifb-2022.11.12/src/windows install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/windows/WindowData_Win.h dist/libminifb-2022.11.12/src/windows install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/windows/WinMiniFB.c dist/libminifb-2022.11.12/src/windows install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_timer.c dist/libminifb-2022.11.12/src install -p -m 644 build/.bpkg/tmp/9d1ff789d64d/libminifb/src/MiniFB_internal.c dist/libminifb-2022.11.12/src b --verbose 2 --no-external-modules -s info: '/private/tmp/dist/libminifb-2022.11.12/' checked out libminifb/2022.11.12 b -v config.config.disfigure='config.libopengl_meta**' configure('build/libopengl-meta-1.0.0/') cat >build/libopengl-meta-1.0.0/build/config.build cat >build/libopengl-meta-1.0.0/tests/build/config.build configured libopengl-meta/1.0.0 b -v .../config.config.persist='config.cc.*'@unused=drop ".../config.cc.coptions=-Wall -O3" config.libminifb.develop=false config.config.disfigure='config.libminifb**' configure('/private/tmp/dist/libminifb-2022.11.12/'@'build/libminifb-2022.11.12/') config libminifb@/private/tmp/build/libminifb-2022.11.12/ use_metal_api true use_inverted_y_on_macos false use_wayland_api false use_opengl_api false mkdir -p build/libminifb-2022.11.12/build/ mkdir build/libminifb-2022.11.12/build/bootstrap/ cat >build/libminifb-2022.11.12/build/bootstrap/src-root.build cat >build/libminifb-2022.11.12/build/config.build mkdir -p build/libminifb-2022.11.12/tests/build/ mkdir build/libminifb-2022.11.12/tests/build/bootstrap/ cat >build/libminifb-2022.11.12/tests/build/bootstrap/src-root.build cat >build/libminifb-2022.11.12/tests/build/config.build configured libminifb/2022.11.12 holding package libminifb holding version libminifb/2022.11.12 cd build/ cd /private/tmp/ # step id: bpkg.configure.build 2023-01-23 14:16:26 UTC b -v config.dist.root=redist dist('dist/libminifb-2022.11.12/'@'build/libminifb-2022.11.12/') install -d -m 755 redist/libminifb-2022.11.12 install -d -m 755 redist/libminifb-2022.11.12/build install -p -m 644 dist/libminifb-2022.11.12/build/export.build redist/libminifb-2022.11.12/build install -p -m 644 dist/libminifb-2022.11.12/manifest redist/libminifb-2022.11.12 install -d -m 755 redist/libminifb-2022.11.12/src/x11 install -p -m 644 dist/libminifb-2022.11.12/src/x11/WindowData_X11.h redist/libminifb-2022.11.12/src/x11 install -d -m 755 redist/libminifb-2022.11.12/src/gl install -p -m 644 dist/libminifb-2022.11.12/src/gl/MiniFB_GL.c redist/libminifb-2022.11.12/src/gl install -p -m 644 dist/libminifb-2022.11.12/src/WindowData.h redist/libminifb-2022.11.12/src install -p -m 644 dist/libminifb-2022.11.12/src/MiniFB_timer.c redist/libminifb-2022.11.12/src install -d -m 755 redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/tests/basics/fullscreen.c redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/tests/basics/hidpi.c redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/tests/basics/input_events.c redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/tests/basics/multiple_windows.c redist/libminifb-2022.11.12/tests/basics install -d -m 755 redist/libminifb-2022.11.12/src/windows install -p -m 644 dist/libminifb-2022.11.12/src/windows/WinMiniFB.c redist/libminifb-2022.11.12/src/windows install -p -m 755 dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp redist/libminifb-2022.11.12/src install -p -m 644 dist/libminifb-2022.11.12/tests/basics/noise.c redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/tests/buildfile redist/libminifb-2022.11.12/tests install -p -m 644 dist/libminifb-2022.11.12/src/buildfile redist/libminifb-2022.11.12/src install -p -m 755 dist/libminifb-2022.11.12/src/MiniFB_internal.h redist/libminifb-2022.11.12/src install -p -m 644 dist/libminifb-2022.11.12/src/x11/X11MiniFB.c redist/libminifb-2022.11.12/src/x11 install -p -m 644 dist/libminifb-2022.11.12/tests/basics/buildfile redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/README.md redist/libminifb-2022.11.12 install -p -m 644 dist/libminifb-2022.11.12/build/export.build redist/libminifb-2022.11.12/build install -p -m 644 dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp redist/libminifb-2022.11.12/tests/basics install -p -m 644 dist/libminifb-2022.11.12/src/MiniFB_linux.c redist/libminifb-2022.11.12/src install -d -m 755 redist/libminifb-2022.11.12/include install -p -m 755 dist/libminifb-2022.11.12/include/MiniFB_cpp.h redist/libminifb-2022.11.12/include install -d -m 755 redist/libminifb-2022.11.12/tests/build install -p -m 644 dist/libminifb-2022.11.12/tests/build/bootstrap.build redist/libminifb-2022.11.12/tests/build install -p -m 644 dist/libminifb-2022.11.12/src/windows/WindowData_Win.h redist/libminifb-2022.11.12/src/windows install -p -m 644 dist/libminifb-2022.11.12/include/MiniFB_ios.h redist/libminifb-2022.11.12/include install -p -m 644 dist/libminifb-2022.11.12/src/MiniFB_internal.c redist/libminifb-2022.11.12/src install -p -m 644 dist/libminifb-2022.11.12/tests/build/root.build redist/libminifb-2022.11.12/tests/build install -p -m 644 dist/libminifb-2022.11.12/include/buildfile redist/libminifb-2022.11.12/include install -p -m 644 dist/libminifb-2022.11.12/buildfile redist/libminifb-2022.11.12 install -p -m 644 dist/libminifb-2022.11.12/build/bootstrap.build redist/libminifb-2022.11.12/build install -p -m 644 dist/libminifb-2022.11.12/include/export.h redist/libminifb-2022.11.12/include install -p -m 644 dist/libminifb-2022.11.12/include/MiniFB.h redist/libminifb-2022.11.12/include install -p -m 755 dist/libminifb-2022.11.12/src/MiniFB_common.c redist/libminifb-2022.11.12/src install -p -m 644 dist/libminifb-2022.11.12/src/gl/MiniFB_GL.h redist/libminifb-2022.11.12/src/gl install -p -m 644 dist/libminifb-2022.11.12/build/root.build redist/libminifb-2022.11.12/build install -p -m 755 dist/libminifb-2022.11.12/include/MiniFB_enums.h redist/libminifb-2022.11.12/include rm -r dist/libminifb-2022.11.12/ mv redist/libminifb-2022.11.12/ dist/libminifb-2022.11.12/ cd /private/tmp/build/ cd /private/tmp/build/ # step id: bpkg.update 2023-01-23 14:16:30 UTC bpkg -v update --build-option=--stat libminifb b -v --stat update('./libminifb-2022.11.12/') mkdir libminifb-2022.11.12/src/ mkdir libminifb-2022.11.12/tests/basics/ clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_common.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_common.c clang++ -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_cpp.a.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_internal.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_internal.c clang++ -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_cpp.dylib.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_SHARED_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_timer.dylib.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_timer.c clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/noise.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/noise.c clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/input_events.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events.c mkdir libminifb-2022.11.12/include/ clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/multiple_windows.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/multiple_windows.c clang++ -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/input_events_cpp.o -c -x c++ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/hidpi.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/hidpi.c In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))27 : ^ note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))):1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : ^19 :41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined19 : ^41 : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69 __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 27 ^: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:21: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))41 : ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ 21/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h::6441::24 :warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_char_input_callback (std::function func, struct mfb_window *window); __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedwarning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:41: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] ^ void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined41 : ^ warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69In file included from :/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp27::1 : note: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h'function' has been explicitly marked deprecated here: 24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window);note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:2752:: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] note: 'function' has been explicitly marked deprecated here friend void mfb_set_active_callback (std::function func, struct mfb_window *window);template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :64:24:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :note: 69expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION': 27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:57:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h friend void mfb_set_resize_callback (std::function func, struct mfb_window *window);: 57 ^: 52: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 69:27: note: 'function' has been explicitly marked deprecated here friend void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined69 ^ :/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h27: note: 'function' has been explicitly marked deprecated here :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: friend void mfb_set_close_callback (std::function func, struct mfb_window *window);note: 'function' has been explicitly marked deprecated here ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined'function' has been explicitly marked deprecated here ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedexpanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cppIn file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:59:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h ^ :59:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:5224: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 1 ^: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))'function' has been explicitly marked deprecated here ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type")))1 : ^/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :61:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: In file included from 'function' has been explicitly marked deprecated here/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:61:52: warning: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:62:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined62 : ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h52:: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))): 69 ^: 27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ 1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:In file included from 27/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:: 1note: : 'function' has been explicitly marked deprecated here/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10 std::function m_active;: ^warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here std::function m_active; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined: ^note: 'function' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:97:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] In file included from std::function m_resize; ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h::691:: 27/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:: 97note: :'function' has been explicitly marked deprecated here10 : warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ std::function m_resize; /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 64:24: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.hnote: :expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION'69 :27: note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] 27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:99:81: error: implicit instantiation of undefined template 'std::function' In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: std::function m_keyboard;/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : ^99 :81: error: implicit instantiation of undefined template 'std::function' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ std::function m_keyboard; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:100:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.hIn file included from :/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp100::110: :/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h :warning: 102'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations]: 10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ std::function m_mouse_move; ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h :69:27/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:: 69note: :'function' has been explicitly marked deprecated here27 : note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h ^: 64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h: 101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: In file included from template is declared here/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefinedimplicit instantiation of undefined template 'std::function' ^ std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here In file included from template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:102:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_mouse_move; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: implicit instantiation of undefined template 'std::function' std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:132:26: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp: stub->m_close = std::bind(method, obj, _1);1 : ~~~~~^~~~/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h : rand132 :26: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdliberror: :no member named 'bind' in namespace 'std'; did you mean 'rand'?122 :9: note: 'rand' declared here stub->m_close = std::bind(method, obj, _1); ~~~~~^~~~using ::rand _LIBCPP_USING_IF_EXISTS; ^ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp::11: : /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h/private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h::142142::2929:: error: error: no member named 'bind' in namespace 'std'; did you mean 'rand'?no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS;In file included from ^/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp :1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:1: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ clang -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DLIBMINIFB_SHARED -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/tests/basics/fullscreen.o -c -x c /private/tmp/dist/libminifb-2022.11.12/tests/basics/fullscreen.c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:11:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] stub_vector() = default; ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:14:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:19:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:97:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_active_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:11:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] stub_vector() = default; ^ __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:14:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:19:36: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for(mfb_stub *instance : instances) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:97:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_active_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:101:27: error: no member named 'bind' in namespace 'std' stub->m_active = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:107:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_resize_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:101:27: error: no member named 'bind' in namespace 'std' stub->m_active = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:107:30: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_resize_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:111:27: error: no member named 'bind' in namespace 'std' stub->m_resize = std::bind(func, _1, _2, _3); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:117:29: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_close_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:111:27: error: no member named 'bind' in namespace 'std' stub->m_resize = std::bind(func, _1, _2, _3); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:117:29: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_close_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:121:26: error: no member named 'bind' in namespace 'std' stub->m_close = std::bind(func, _1); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:96: error: implicit instantiation of undefined template 'std::function' mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:32: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:131:29: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_keyboard = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:121:26: error: no member named 'bind' in namespace 'std' stub->m_close = std::bind(func, _1); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:137:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_char_input_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27/private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:96: error: implicit instantiation of undefined template 'std::function' mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: :template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:127:32: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_keyboard_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' note: 'function' has been explicitly marked deprecated here __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:131:29: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_keyboard = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:137:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_char_input_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:141:31: error: no member named 'bind' in namespace 'std' stub->m_char_input = std::bind(func, _1, _2); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:109: error: implicit instantiation of undefined template 'std::function' mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:36: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:151:30: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_mouse_btn = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:157:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_move_callback(std::function func, struct mfb_window *window) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:141:31: error: no member named 'bind' in namespace 'std' stub->m_char_input = std::bind(func, _1, _2); ~~~~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp ^: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' 147:109: error: __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ implicit instantiation of undefined template 'std::function' mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:147:36: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_button_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:151:30: error: no member named 'bind' in namespace 'std'; did you mean 'find'? stub->m_mouse_btn = std::bind(func, _1, _2, _3, _4); ~~~~~^~~~ find /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:26:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) { ^ /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_cpp.cpp:157:34: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] mfb_set_mouse_move_callback(std::function func, struct mfb_window *window) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 31 warnings and 20 errors generated. fatal error: too many errors emitted, stopping now [-ferror-limit=] 31 warnings and 20 errors generated. clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_timer.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_timer.c clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_internal.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_internal.c clang -I/private/tmp/build/libminifb-2022.11.12/src -I/private/tmp/dist/libminifb-2022.11.12/src -I/private/tmp/build/libminifb-2022.11.12/include -I/private/tmp/dist/libminifb-2022.11.12/include -DUSE_METAL_API -DLIBMINIFB_STATIC_BUILD -Wno-cast-function-type -Wall -O3 -finput-charset=UTF-8 -o libminifb-2022.11.12/src/MiniFB_common.a.o -c -x c /private/tmp/dist/libminifb-2022.11.12/src/MiniFB_common.c In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:17:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:18:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:19:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:20:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:21:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:22:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:23:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:24:41: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:56:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_active_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:57:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_resize_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:58:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_close_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:59:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_keyboard_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:60:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_char_input_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:61:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_button_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:62:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_move_callback (std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:63:52: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] friend void mfb_set_mouse_scroll_callback(std::function func, struct mfb_window *window); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:96:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_active; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:97:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_resize; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:98:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_close; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:99:81: error: implicit instantiation of undefined template 'std::function' std::function m_keyboard; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:100:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_char_input; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:101:91: error: implicit instantiation of undefined template 'std::function' std::function m_mouse_btn; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:102:10: warning: 'function' is deprecated: Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type [-Wdeprecated-declarations] std::function m_mouse_move; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:27: note: 'function' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:64:24: note: expanded from macro '_LIBCPP_DEPRECATED_CXX03_FUNCTION' __attribute__((deprecated("Using std::function in C++03 is not supported anymore. Please upgrade to C++11 or later, or use a different type"))) ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:103:81: error: implicit instantiation of undefined template 'std::function' std::function m_scroll; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/function.h:69:82: note: template is declared here template class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undefined ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:112:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_active = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:122:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_resize = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:132:26: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_close = std::bind(method, obj, _1); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:142:29: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_keyboard = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:152:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_char_input = std::bind(method, obj, _1, _2); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:162:30: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_btn = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:172:31: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_mouse_move = std::bind(method, obj, _1, _2, _3); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ In file included from /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:1: In file included from /private/tmp/dist/libminifb-2022.11.12/include/MiniFB.h:99: /private/tmp/dist/libminifb-2022.11.12/include/MiniFB_cpp.h:182:27: error: no member named 'bind' in namespace 'std'; did you mean 'rand'? stub->m_scroll = std::bind(method, obj, _1, _2, _3, _4); ~~~~~^~~~ rand /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: note: 'rand' declared here using ::rand _LIBCPP_USING_IF_EXISTS; ^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:225:40: error: no member named 'bind' in namespace 'std' mfb_set_active_callback (std::bind(&Events::active, &e, _1, _2), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:226:40: error: no member named 'bind' in namespace 'std' mfb_set_resize_callback (std::bind(&Events::resize, &e, _1, _2, _3), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:227:40: error: no member named 'bind' in namespace 'std' mfb_set_close_callback (std::bind(&Events::close, &e, _1), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:228:40: error: no member named 'bind' in namespace 'std' mfb_set_keyboard_callback (std::bind(&Events::keyboard, &e, _1, _2, _3, _4), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:229:40: error: no member named 'bind' in namespace 'std' mfb_set_char_input_callback (std::bind(&Events::char_input, &e, _1, _2), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:230:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_button_callback(std::bind(&Events::mouse_button, &e, _1, _2, _3, _4), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:231:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_move_callback (std::bind(&Events::mouse_move, &e, _1, _2, _3), window); ~~~~~^ /private/tmp/dist/libminifb-2022.11.12/tests/basics/input_events_cpp.cpp:232:40: error: no member named 'bind' in namespace 'std' mfb_set_mouse_scroll_callback(std::bind(&Events::mouse_scroll, &e, _1, _2, _3, _4), window); ~~~~~^ 21 warnings and 19 errors generated. info: failed to update dir{libminifb-2022.11.12/} build statistics: thread_max_active 4 thread_max_total 128 thread_helpers 8 thread_max_waiting 5 task_queue_depth 16 task_queue_full 0 wait_queue_slots 53 wait_queue_collisions 0 phase_switch_contention 0 bpkg update exited with code 1