[MacPorts] #70331: gcc14 (c++) can not compile trivial program

MacPorts noreply at macports.org
Sat Jul 6 10:15:09 UTC 2024


#70331: gcc14 (c++) can not compile trivial program
----------------------+--------------------
  Reporter:  acmaggs  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  gcc14    |
----------------------+--------------------

Comment (by acmaggs):

 1 no SDKROOT set
 2 Same errors on my Air-m1, but also my intel-MacPro
 3 gcc13 works perfectly

 {{{
 ACM-M1:CC (FIniteLength *=)$ g++-mp-14 -H -v ./j.cc
 Using built-in specs.
 COLLECT_GCC=g++-mp-14
 COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0
 /lto-wrapper
 Target: arm64-apple-darwin23
 Configured with:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc14/gcc14/work/gcc-14.1.0/configure
 --prefix=/opt/local --build=arm64-apple-darwin23 --enable-
 languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc14
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man
 --datarootdir=/opt/local/share/gcc-14 --with-local-prefix=/opt/local
 --with-system-zlib --disable-nls --program-suffix=-mp-14 --with-gxx-
 include-dir=/opt/local/include/gcc14/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-
 zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto
 --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-
 as=/opt/local/bin/as --with-ld=/opt/local/bin/ld-classic --with-
 ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket
 --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc
 --with-libiconv-prefix=/opt/local --disable-tls --with-gxx-libcxx-include-
 dir=/opt/local/libexec/gcc14/libc++/include/c++/v1 --with-
 pkgversion='MacPorts gcc14 14.1.0_0+stdlib_flag' --with-
 sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 Thread model: posix
 Supported LTO compression algorithms: zlib zstd
 gcc version 14.1.0 (MacPorts gcc14 14.1.0_0+stdlib_flag)
 COLLECT_GCC_OPTIONS='-H' '-v' '-mmacosx-version-min=14.0.0'
 '-asm_macosx_version_min=14.0' '-nodefaultexport' '-mcpu=apple-m1'
 '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-'
  /opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/cc1plus -quiet -v -H
 -D__DYNAMIC__ ./j.cc -fPIC -quiet -dumpdir a- -dumpbase j.cc -dumpbase-ext
 .cc -mmacosx-version-min=14.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64
 -version -o /var/folders/7x/_gp_y4wn39sgmd5crfhnzchm0000gs/T//ccSn0UUQ.s
 GNU C++17 (MacPorts gcc14 14.1.0_0+stdlib_flag) version 14.1.0 (arm64
 -apple-darwin23)
         compiled by GNU C version 14.1.0, GMP version 6.3.0, MPFR version
 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP

 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 ignoring nonexistent directory
 "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/opt/local/include"
 ignoring nonexistent directory "/opt/local/lib/gcc14/gcc/arm64-apple-
 darwin23/14.1.0/../../../../../arm64-apple-darwin23/include"
 ignoring nonexistent directory
 "/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/Library/Frameworks"
 #include "..." search starts here:
 #include <...> search starts here:
  /opt/local/include/gcc14/c++/
  /opt/local/include/gcc14/c++//arm64-apple-darwin23
  /opt/local/include/gcc14/c++//backward
  /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include
  /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed
  /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks
 End of search list.
 Compiler executable checksum: 0c5a668df4d5a04f9d2ea7b9dee8d2fa
 . /opt/local/include/gcc14/c++/iostream
 .. /opt/local/include/gcc14/c++/bits/requires_hosted.h
 ... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/c++config.h
 .... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/os_defines.h
 .... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/cpu_defines.h
 .... /opt/local/include/gcc14/c++/pstl/pstl_config.h
 .. /opt/local/include/gcc14/c++/ostream
 ... /opt/local/include/gcc14/c++/ios
 .... /opt/local/include/gcc14/c++/iosfwd
 ..... /opt/local/include/gcc14/c++/bits/stringfwd.h
 ...... /opt/local/include/gcc14/c++/bits/memoryfwd.h
 ..... /opt/local/include/gcc14/c++/bits/postypes.h
 ...... /opt/local/include/gcc14/c++/cwchar
 .......
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/cdefs.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_symbol_aliasing.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_posix_availability.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/_types.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/_types.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_types.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/Availability.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/AvailabilityVersions.h
 ......... /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/AvailabilityInternalLegacy.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_null.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_size_t.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mbstate_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/types.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/types.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_int8_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_int16_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_int32_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_int64_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_u_int8_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_u_int16_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_u_int32_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_u_int64_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_intptr_t.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/types.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_uintptr_t.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_ct_rune_t.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_rune_t.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_wchar_t.h
 ........ /opt/local/lib/gcc14/gcc/arm64-apple-
 darwin23/14.1.0/include/stdarg.h
 ........ /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/stdio.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_stdio.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_va_list.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/stdio.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_seek_set.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_ctermid.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_off_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_ssize_t.h
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h:90,
                  from /opt/local/include/gcc14/c++/cwchar:44,
                  from /opt/local/include/gcc14/c++/bits/postypes.h:40,
                  from /opt/local/include/gcc14/c++/iosfwd:42,
                  from /opt/local/include/gcc14/c++/ios:40,
                  from /opt/local/include/gcc14/c++/ostream:40,
                  from /opt/local/include/gcc14/c++/iostream:41,
                  from ./j.cc:1:
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/stdio.h:383:153: error: macro "__API_AVAILABLE4" requires 5
 arguments, but only 4 given
   383 | FILE *fmemopen(void * __restrict __buf, size_t __size, const char
 * __restrict __mode) __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0),
 watchos(4.0));
       |
 ^
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/Availability.h:177,
                  from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h:72:
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/stdio.h:384:119: error: macro "__API_AVAILABLE4" requires 5
 arguments, but only 4 given
   384 | FILE *open_memstream(char **__bufp, size_t *__sizep)
 __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/time.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_clock_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_time_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_timespec.h
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h:91:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/time.h:198:67:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   198 | __API_AVAILABLE(macosx(10.15), ios(13.0), tvos(13.0),
 watchos(6.0))
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/__wctype.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_wint_t.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_wctype_t.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ctype.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_ctype.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/runetype.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h:205:125:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   205 | FILE *open_wmemstream(wchar_t ** __bufp, size_t * __sizep)
 __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 .... /opt/local/include/gcc14/c++/exception
 ..... /opt/local/include/gcc14/c++/bits/exception.h
 ..... /opt/local/include/gcc14/c++/bits/version.h
 ..... /opt/local/include/gcc14/c++/bits/exception_ptr.h
 ...... /opt/local/include/gcc14/c++/bits/exception_defines.h
 ...... /opt/local/include/gcc14/c++/bits/cxxabi_init_exception.h
 ....... /opt/local/lib/gcc14/gcc/arm64-apple-
 darwin23/14.1.0/include/stddef.h
 ...... /opt/local/include/gcc14/c++/typeinfo
 ....... /opt/local/include/gcc14/c++/bits/hash_bytes.h
 ....... /opt/local/include/gcc14/c++/bits/version.h
 ...... /opt/local/include/gcc14/c++/new
 ....... /opt/local/include/gcc14/c++/bits/version.h
 ...... /opt/local/include/gcc14/c++/bits/move.h
 ....... /opt/local/include/gcc14/c++/type_traits
 ........ /opt/local/include/gcc14/c++/bits/version.h
 ..... /opt/local/include/gcc14/c++/bits/nested_exception.h
 .... /opt/local/include/gcc14/c++/bits/char_traits.h
 ..... /opt/local/include/gcc14/c++/cwchar
 .... /opt/local/include/gcc14/c++/bits/localefwd.h
 ..... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/c++locale.h
 ...... /opt/local/include/gcc14/c++/clocale
 .......
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/locale.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_locale.h
 ..... /opt/local/include/gcc14/c++/cctype
 .... /opt/local/include/gcc14/c++/bits/ios_base.h
 ..... /opt/local/include/gcc14/c++/ext/atomicity.h
 ...... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr.h
 ....... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/sched.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/pthread_impl.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_attr_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_cond_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_key_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_once_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_pthread/_pthread_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:34,
                  from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:70,
                  from /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/gthr-default.h:35,
                  from /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/gthr.h:157,
                  from /opt/local/include/gcc14/c++/ext/atomicity.h:35,
                  from /opt/local/include/gcc14/c++/bits/ios_base.h:39,
                  from /opt/local/include/gcc14/c++/ios:44:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:143:1:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   143 | );
       | ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:170:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   170 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:192:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   192 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:81:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
    81 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:112:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   112 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:153:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   153 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:184:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   184 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:263:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   263 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:291:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   291 | __API_AVAILABLE(macos(10.10), ios(8.0))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mach_port_t.h
 .........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_sigset_t.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:225:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   225 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:229:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   229 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:232:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   232 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:235:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   235 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:238:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   238 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:241:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   241 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:245:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   245 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:248:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   248 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:251:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   251 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:255:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   255 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:259:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   259 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:262:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   262 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:265:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   265 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:268:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   268 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:271:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   271 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:274:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   274 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:278:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   278 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:281:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   281 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:284:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   284 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:287:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   287 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:290:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   290 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:293:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   293 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:296:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   296 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:299:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   299 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:302:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   302 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:308:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   308 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:311:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   311 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:318:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   318 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:323:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   323 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:326:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   326 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:329:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   329 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:333:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   333 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:336:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   336 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:348:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   348 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:351:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   351 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:354:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   354 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:358:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   358 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:361:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   361 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:366:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   366 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:369:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   369 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:374:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   374 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:377:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   377 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:380:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   380 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:383:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   383 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:387:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   387 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:391:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   391 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:395:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   395 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:399:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   399 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:403:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   403 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:407:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   407 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:410:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   410 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:414:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   414 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:418:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   418 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:422:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   422 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:426:68:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   426 | __API_AVAILABLE(macos(10.13.4), ios(11.3), watchos(4.3),
 tvos(11.3))
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:430:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   430 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:433:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   433 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:436:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   436 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:439:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   439 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:442:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   442 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:445:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   445 | __API_AVAILABLE(macos(10.7), ios(5.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:449:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   449 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:452:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   452 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:455:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   455 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:460:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   460 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:464:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   464 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:468:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   468 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:472:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   472 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:476:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   476 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:480:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   480 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:483:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   483 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:487:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   487 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:490:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   490 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:493:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   493 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:496:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   496 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:501:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   501 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:506:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   506 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:509:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   509 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:512:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   512 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:516:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   516 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:523:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   523 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:526:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   526 | __API_AVAILABLE(macos(10.6), ios(3.2))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:530:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   530 | __API_AVAILABLE(macos(10.6), ios(3.2))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:533:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   533 | __API_AVAILABLE(macos(10.6), ios(3.2))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:538:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   538 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:542:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   542 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:545:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   545 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:548:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   548 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:552:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   552 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:556:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   556 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:562:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   562 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:572:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   572 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:575:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   575 | __API_AVAILABLE(macos(10.5), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:578:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   578 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:582:38:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   582 | __API_AVAILABLE(macos(10.4), ios(2.0))
       |                                      ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:586:28:
 error: macro "__API_AVAILABLE1" requires 2 arguments, but only 1 given
   586 | __API_AVAILABLE(macos(11.0))
       |                            ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:254:13: note: macro "__API_AVAILABLE1"
 defined here
   254 |     #define __API_AVAILABLE1(arg0,arg1) __API_A(arg0)
 __API_A(arg1)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:587:48:
 error: macro "__API_UNAVAILABLE4" requires 5 arguments, but only 4 given
   587 | __API_UNAVAILABLE(ios, tvos, watchos, driverkit)
       |                                                ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:364:13: note: macro "__API_UNAVAILABLE4"
 defined here
   364 |     #define __API_UNAVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:590:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   590 | __API_AVAILABLE(macos(11.0), ios(17.4))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:591:53:
 error: macro "__API_UNAVAILABLE4" requires 5 arguments, but only 4 given
   591 | __API_UNAVAILABLE(tvos, watchos, driverkit, visionos)
       |                                                     ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:364:13: note: macro "__API_UNAVAILABLE4"
 defined here
   364 |     #define __API_UNAVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:694:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   694 | __API_AVAILABLE(macos(11.4), ios(17.4))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:695:53:
 error: macro "__API_UNAVAILABLE4" requires 5 arguments, but only 4 given
   695 | __API_UNAVAILABLE(tvos, watchos, driverkit, visionos)
       |                                                     ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:364:13: note: macro "__API_UNAVAILABLE4"
 defined here
   364 |     #define __API_UNAVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:725:39:
 error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
   725 | __API_AVAILABLE(macos(12.1), ios(17.4))
       |                                       ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:255:13: note: macro "__API_AVAILABLE2"
 defined here
   255 |     #define __API_AVAILABLE2(arg0,arg1,arg2) __API_A(arg0)
 __API_A(arg1) __API_A(arg2)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:726:53:
 error: macro "__API_UNAVAILABLE4" requires 5 arguments, but only 4 given
   726 | __API_UNAVAILABLE(tvos, watchos, driverkit, visionos)
       |                                                     ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:364:13: note: macro "__API_UNAVAILABLE4"
 defined here
   364 |     #define __API_UNAVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:744:65:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   744 | __API_AVAILABLE(macos(11.0), ios(14.2), tvos(14.2), watchos(7.1))
       |                                                                 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 ...... /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/atomic_word.h
 ..... /opt/local/include/gcc14/c++/bits/locale_classes.h
 ...... /opt/local/include/gcc14/c++/string
 ....... /opt/local/include/gcc14/c++/bits/allocator.h
 ........ /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/c++allocator.h
 ......... /opt/local/include/gcc14/c++/bits/new_allocator.h
 .......... /opt/local/include/gcc14/c++/bits/functexcept.h
 ....... /opt/local/include/gcc14/c++/bits/cpp_type_traits.h
 ....... /opt/local/include/gcc14/c++/bits/ostream_insert.h
 ........ /opt/local/include/gcc14/c++/bits/cxxabi_forced.h
 ....... /opt/local/include/gcc14/c++/bits/stl_iterator_base_funcs.h
 ........ /opt/local/include/gcc14/c++/bits/concept_check.h
 ........ /opt/local/include/gcc14/c++/debug/assertions.h
 ........ /opt/local/include/gcc14/c++/bits/stl_iterator_base_types.h
 ....... /opt/local/include/gcc14/c++/bits/stl_iterator.h
 ........ /opt/local/include/gcc14/c++/ext/type_traits.h
 ........ /opt/local/include/gcc14/c++/bits/ptr_traits.h
 ....... /opt/local/include/gcc14/c++/bits/stl_function.h
 ........ /opt/local/include/gcc14/c++/backward/binders.h
 ....... /opt/local/include/gcc14/c++/ext/numeric_traits.h
 ....... /opt/local/include/gcc14/c++/bits/stl_algobase.h
 ........ /opt/local/include/gcc14/c++/bits/stl_pair.h
 ......... /opt/local/include/gcc14/c++/bits/utility.h
 ........ /opt/local/include/gcc14/c++/debug/debug.h
 ........ /opt/local/include/gcc14/c++/bits/predefined_ops.h
 ........ /opt/local/include/gcc14/c++/bit
 ......... /opt/local/include/gcc14/c++/concepts
 .......... /opt/local/include/gcc14/c++/bits/version.h
 ......... /opt/local/include/gcc14/c++/bits/version.h
 ....... /opt/local/include/gcc14/c++/bits/refwrap.h
 ........ /opt/local/include/gcc14/c++/bits/invoke.h
 ....... /opt/local/include/gcc14/c++/bits/range_access.h
 ........ /opt/local/include/gcc14/c++/initializer_list
 ....... /opt/local/include/gcc14/c++/bits/basic_string.h
 ........ /opt/local/include/gcc14/c++/ext/alloc_traits.h
 ......... /opt/local/include/gcc14/c++/bits/alloc_traits.h
 .......... /opt/local/include/gcc14/c++/bits/stl_construct.h
 ........ /opt/local/include/gcc14/c++/string_view
 ......... /opt/local/include/gcc14/c++/bits/version.h
 ......... /opt/local/include/gcc14/c++/bits/functional_hash.h
 ......... /opt/local/include/gcc14/c++/bits/string_view.tcc
 ........ /opt/local/include/gcc14/c++/bits/version.h
 ........ /opt/local/include/gcc14/c++/ext/string_conversions.h
 ......... /opt/local/include/gcc14/c++/cstdlib
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/wait.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_pid_t.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_id_t.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/signal.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/appleapiopts.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/signal.h
 ..............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/signal.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/_mcontext.h
 ..............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/_mcontext.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/machine/_structs.h
 ................
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/arm/_structs.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_sigaltstack.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_ucontext.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_uid_t.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/resource.h
 ............. /opt/local/lib/gcc14/gcc/arm64-apple-
 darwin23/14.1.0/include/stdint.h
 .............. /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0
 /include-fixed/stdint.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_uint8_t.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_uint16_t.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_uint32_t.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_uint64_t.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_intmax_t.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_uintmax_t.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_timeval.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/endian.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/endian.h
 ..............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_endian.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/endian.h
 ...............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/libkern/_OSByteOrder.h
 ................
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/libkern/arm/OSByteOrder.h
 .................
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/arch.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/alloca.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h
 .............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_ptrcheck.h
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc.h:44,
                  from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:128,
                  from /opt/local/include/gcc14/c++/cstdlib:79,
                  from
 /opt/local/include/gcc14/c++/ext/string_conversions.h:43,
                  from
 /opt/local/include/gcc14/c++/bits/basic_string.h:4154,
                  from /opt/local/include/gcc14/c++/string:54,
                  from
 /opt/local/include/gcc14/c++/bits/locale_classes.h:40,
                  from /opt/local/include/gcc14/c++/bits/ios_base.h:41:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:57:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    57 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_malloc(size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(1);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:58:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    58 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_calloc(size_t count,
 size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(1,2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:59:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    59 | _MALLOC_TYPE_AVAILABILITY void  malloc_type_free(void *
 __unsafe_indexable ptr, malloc_type_id_t type_id);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:60:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    60 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_realloc(void *
 __unsafe_indexable ptr, size_t size, malloc_type_id_t type_id)
 __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:61:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    61 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_valloc(size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(1);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:62:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    62 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_aligned_alloc(size_t
 alignment, size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:64:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    64 | _MALLOC_TYPE_AVAILABILITY int   malloc_type_posix_memalign(void *
 __unsafe_indexable *memptr, size_t alignment, size_t size,
 malloc_type_id_t type_id) /*__alloc_size(3)*/;
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:71:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    71 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:72:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    72 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2,3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:73:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    73 | _MALLOC_TYPE_AVAILABILITY void
 malloc_type_zone_free(malloc_zone_t *zone, void * __unsafe_indexable ptr,
 malloc_type_id_t type_id);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:74:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    74 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_realloc(malloc_zone_t *zone, void * __unsafe_indexable
 ptr, size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:75:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    75 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:76:1:
 error: macro "__API_UNAVAILABLE5" requires 6 arguments, but only 5 given
    76 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t
 size, malloc_type_id_t type_id) __result_use_check __alloc_size(3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:365:13: note: macro "__API_UNAVAILABLE5"
 defined here
   365 |     #define __API_UNAVAILABLE5(arg0,arg1,arg2,arg3,arg4,arg5)
 __API_U(arg0) __API_U(arg1) __API_U(arg2) __API_U(arg3) __API_U(arg4)
 __API_U(arg5)
       |             ^~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:182:28:
 error: macro "__API_AVAILABLE1" requires 2 arguments, but only 1 given
   182 | __API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
       |                            ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:254:13: note: macro "__API_AVAILABLE1"
 defined here
   254 |     #define __API_AVAILABLE1(arg0,arg1) __API_A(arg0)
 __API_A(arg1)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:220:123:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   220 | int ptsname_r(int fildes, char *buffer, size_t buflen)
 __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_dev_t.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mode_t.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:351:74:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   351 |         __API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0),
 watchos(6.0));
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:359:73:
 error: macro "__API_AVAILABLE4" requires 5 arguments, but only 4 given
   359 |         __API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0),
 watchos(7.0));
       |
 ^
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/AvailabilityInternal.h:257:13: note: macro "__API_AVAILABLE4"
 defined here
   257 |     #define __API_AVAILABLE4(arg0,arg1,arg2,arg3,arg4)
 __API_A(arg0) __API_A(arg1) __API_A(arg2) __API_A(arg3) __API_A(arg4)
       |             ^~~~~~~~~~~~~~~~
 .......... /opt/local/include/gcc14/c++/bits/std_abs.h
 ......... /opt/local/include/gcc14/c++/cwchar
 ......... /opt/local/include/gcc14/c++/cstdio
 ......... /opt/local/include/gcc14/c++/cerrno
 ..........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/errno.h
 ...........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/errno.h
 ............
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_errno_t.h
 ........ /opt/local/include/gcc14/c++/bits/charconv.h
 ....... /opt/local/include/gcc14/c++/bits/basic_string.tcc
 ....... /opt/local/include/gcc14/c++/bits/version.h
 ....... /opt/local/include/gcc14/c++/bits/memory_resource.h
 ........ /opt/local/include/gcc14/c++/cstddef
 ......... /opt/local/lib/gcc14/gcc/arm64-apple-
 darwin23/14.1.0/include/stddef.h
 ......... /opt/local/include/gcc14/c++/bits/version.h
 ........ /opt/local/include/gcc14/c++/bits/uses_allocator.h
 ........ /opt/local/include/gcc14/c++/bits/uses_allocator_args.h
 ......... /opt/local/include/gcc14/c++/bits/version.h
 ........ /opt/local/include/gcc14/c++/tuple
 ......... /opt/local/include/gcc14/c++/bits/version.h
 ...... /opt/local/include/gcc14/c++/bits/locale_classes.tcc
 ..... /opt/local/include/gcc14/c++/system_error
 ...... /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/error_constants.h
 ....... /opt/local/include/gcc14/c++/cerrno
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/errno.h
 ...... /opt/local/include/gcc14/c++/stdexcept
 .... /opt/local/include/gcc14/c++/streambuf
 ..... /opt/local/include/gcc14/c++/bits/streambuf.tcc
 .... /opt/local/include/gcc14/c++/bits/basic_ios.h
 ..... /opt/local/include/gcc14/c++/bits/locale_facets.h
 ...... /opt/local/include/gcc14/c++/cwctype
 .......
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wctype.h
 ........
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_types/_wctrans_t.h
 ...... /opt/local/include/gcc14/c++/cctype
 ...... /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/ctype_base.h
 ...... /opt/local/include/gcc14/c++/bits/streambuf_iterator.h
 ...... /opt/local/include/gcc14/c++/arm64-apple-
 darwin23/bits/ctype_inline.h
 ...... /opt/local/include/gcc14/c++/bits/locale_facets.tcc
 ..... /opt/local/include/gcc14/c++/bits/basic_ios.tcc
 .... /opt/local/include/gcc14/c++/bits/version.h
 ... /opt/local/include/gcc14/c++/bits/version.h
 ... /opt/local/include/gcc14/c++/bits/ostream.tcc
 .. /opt/local/include/gcc14/c++/istream
 ... /opt/local/include/gcc14/c++/bits/istream.tcc
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/stdio.h:383:88: error: expected initializer before
 '__API_AVAILABLE4'
   383 | FILE *fmemopen(void * __restrict __buf, size_t __size, const char
 * __restrict __mode) __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0),
 watchos(4.0));
       |
 ^~~~~~~~~~~~~~~
 /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-
 fixed/stdio.h:384:54: error: expected initializer before
 '__API_AVAILABLE4'
   384 | FILE *open_memstream(char **__bufp, size_t *__sizep)
 __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
       |
 ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/time.h:198:1:
 error: '__API_AVAILABLE4' does not name a type
   198 | __API_AVAILABLE(macosx(10.15), ios(13.0), tvos(13.0),
 watchos(6.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/wchar.h:205:60:
 error: expected initializer before '__API_AVAILABLE4'
   205 | FILE *open_wmemstream(wchar_t ** __bufp, size_t * __sizep)
 __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
       |
 ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:132:25:
 error: expected '}' before '__API_AVAILABLE2'
   132 |                         __QOS_CLASS_AVAILABLE(macos(10.10),
 ios(8.0)) = 0x21,
       |                         ^~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:130:1:
 note: to match this '{'
   130 | __QOS_ENUM(qos_class, unsigned int,
       | ^~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:132:25:
 error: typedef '__API_AVAILABLE2' is initialized (use 'decltype' instead)
   132 |                         __QOS_CLASS_AVAILABLE(macos(10.10),
 ios(8.0)) = 0x21,
       |                         ^~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:134:25:
 error: expected initializer before '__API_AVAILABLE2'
   134 |                         __QOS_CLASS_AVAILABLE(macos(10.10),
 ios(8.0)) = 0x19,
       |                         ^~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:130:1:
 error: expected declaration before '}' token
   130 | __QOS_ENUM(qos_class, unsigned int,
       | ^~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:130:1:
 error: 'qos_class_t' does not name a type
   130 | __QOS_ENUM(qos_class, unsigned int,
       | ^~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:170:1:
 error: '__API_AVAILABLE2' does not name a type
   170 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/qos.h:192:1:
 error: '__API_AVAILABLE2' does not name a type
   192 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:81:1:
 error: '__API_AVAILABLE2' does not name a type
    81 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:112:1:
 error: '__API_AVAILABLE2' does not name a type
   112 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:153:1:
 error: '__API_AVAILABLE2' does not name a type
   153 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:184:1:
 error: '__API_AVAILABLE2' does not name a type
   184 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:263:1:
 error: '__API_AVAILABLE2' does not name a type
   263 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread/qos.h:291:1:
 error: '__API_AVAILABLE2' does not name a type
   291 | __API_AVAILABLE(macos(10.10), ios(8.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:225:1:
 error: '__API_AVAILABLE2' does not name a type
   225 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:229:1:
 error: '__API_AVAILABLE2' does not name a type
   229 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:232:1:
 error: '__API_AVAILABLE2' does not name a type
   232 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:235:1:
 error: '__API_AVAILABLE2' does not name a type
   235 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:238:1:
 error: '__API_AVAILABLE2' does not name a type
   238 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:241:1:
 error: '__API_AVAILABLE2' does not name a type
   241 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:245:1:
 error: '__API_AVAILABLE2' does not name a type
   245 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:248:1:
 error: '__API_AVAILABLE2' does not name a type
   248 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:251:1:
 error: '__API_AVAILABLE2' does not name a type
   251 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:255:1:
 error: '__API_AVAILABLE2' does not name a type
   255 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:259:1:
 error: '__API_AVAILABLE2' does not name a type
   259 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:262:1:
 error: '__API_AVAILABLE2' does not name a type
   262 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:265:1:
 error: '__API_AVAILABLE2' does not name a type
   265 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:268:1:
 error: '__API_AVAILABLE2' does not name a type
   268 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:271:1:
 error: '__API_AVAILABLE2' does not name a type
   271 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:274:1:
 error: '__API_AVAILABLE2' does not name a type
   274 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:278:1:
 error: '__API_AVAILABLE2' does not name a type
   278 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:281:1:
 error: '__API_AVAILABLE2' does not name a type
   281 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:284:1:
 error: '__API_AVAILABLE2' does not name a type
   284 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:287:1:
 error: '__API_AVAILABLE2' does not name a type
   287 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:290:1:
 error: '__API_AVAILABLE2' does not name a type
   290 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:293:1:
 error: '__API_AVAILABLE2' does not name a type
   293 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:296:1:
 error: '__API_AVAILABLE2' does not name a type
   296 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:299:1:
 error: '__API_AVAILABLE2' does not name a type
   299 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:302:1:
 error: '__API_AVAILABLE2' does not name a type
   302 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:308:1:
 error: '__API_AVAILABLE2' does not name a type
   308 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:311:1:
 error: '__API_AVAILABLE2' does not name a type
   311 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:318:1:
 error: '__API_AVAILABLE2' does not name a type
   318 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:323:1:
 error: '__API_AVAILABLE2' does not name a type
   323 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:326:1:
 error: '__API_AVAILABLE2' does not name a type
   326 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:329:1:
 error: '__API_AVAILABLE2' does not name a type
   329 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:333:1:
 error: '__API_AVAILABLE2' does not name a type
   333 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:336:1:
 error: '__API_AVAILABLE2' does not name a type
   336 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:348:1:
 error: '__API_AVAILABLE2' does not name a type
   348 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:351:1:
 error: '__API_AVAILABLE2' does not name a type
   351 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:354:1:
 error: '__API_AVAILABLE2' does not name a type
   354 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:358:1:
 error: '__API_AVAILABLE2' does not name a type
   358 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:361:1:
 error: '__API_AVAILABLE2' does not name a type
   361 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:366:1:
 error: '__API_AVAILABLE2' does not name a type
   366 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:369:1:
 error: '__API_AVAILABLE2' does not name a type
   369 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:374:1:
 error: '__API_AVAILABLE2' does not name a type
   374 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:377:1:
 error: '__API_AVAILABLE2' does not name a type
   377 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:380:1:
 error: '__API_AVAILABLE2' does not name a type
   380 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:383:1:
 error: '__API_AVAILABLE2' does not name a type
   383 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:387:1:
 error: '__API_AVAILABLE2' does not name a type
   387 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:391:1:
 error: '__API_AVAILABLE2' does not name a type
   391 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:395:1:
 error: '__API_AVAILABLE2' does not name a type
   395 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:399:1:
 error: '__API_AVAILABLE2' does not name a type
   399 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:403:1:
 error: '__API_AVAILABLE2' does not name a type
   403 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:407:1:
 error: '__API_AVAILABLE2' does not name a type
   407 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:410:1:
 error: '__API_AVAILABLE2' does not name a type
   410 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:414:1:
 error: '__API_AVAILABLE2' does not name a type
   414 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:418:1:
 error: '__API_AVAILABLE2' does not name a type
   418 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:422:1:
 error: '__API_AVAILABLE2' does not name a type
   422 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:426:1:
 error: '__API_AVAILABLE4' does not name a type
   426 | __API_AVAILABLE(macos(10.13.4), ios(11.3), watchos(4.3),
 tvos(11.3))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:430:1:
 error: '__API_AVAILABLE2' does not name a type
   430 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:433:1:
 error: '__API_AVAILABLE2' does not name a type
   433 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:436:1:
 error: '__API_AVAILABLE2' does not name a type
   436 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:439:1:
 error: '__API_AVAILABLE2' does not name a type
   439 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:442:1:
 error: '__API_AVAILABLE2' does not name a type
   442 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:445:1:
 error: '__API_AVAILABLE2' does not name a type
   445 | __API_AVAILABLE(macos(10.7), ios(5.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:449:1:
 error: '__API_AVAILABLE2' does not name a type
   449 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:452:1:
 error: '__API_AVAILABLE2' does not name a type
   452 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:455:1:
 error: '__API_AVAILABLE2' does not name a type
   455 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:460:1:
 error: '__API_AVAILABLE2' does not name a type
   460 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:464:1:
 error: '__API_AVAILABLE2' does not name a type
   464 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:468:1:
 error: '__API_AVAILABLE2' does not name a type
   468 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:472:1:
 error: '__API_AVAILABLE2' does not name a type
   472 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:476:1:
 error: '__API_AVAILABLE2' does not name a type
   476 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:480:1:
 error: '__API_AVAILABLE2' does not name a type
   480 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:483:1:
 error: '__API_AVAILABLE2' does not name a type
   483 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:487:1:
 error: '__API_AVAILABLE2' does not name a type
   487 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:490:1:
 error: '__API_AVAILABLE2' does not name a type
   490 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:493:1:
 error: '__API_AVAILABLE2' does not name a type
   493 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:496:1:
 error: '__API_AVAILABLE2' does not name a type
   496 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:501:1:
 error: '__API_AVAILABLE2' does not name a type
   501 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:506:1:
 error: '__API_AVAILABLE2' does not name a type
   506 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:509:1:
 error: '__API_AVAILABLE2' does not name a type
   509 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:512:1:
 error: '__API_AVAILABLE2' does not name a type
   512 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:516:1:
 error: '__API_AVAILABLE2' does not name a type
   516 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:523:1:
 error: '__API_AVAILABLE2' does not name a type
   523 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:526:1:
 error: '__API_AVAILABLE2' does not name a type
   526 | __API_AVAILABLE(macos(10.6), ios(3.2))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:530:1:
 error: '__API_AVAILABLE2' does not name a type
   530 | __API_AVAILABLE(macos(10.6), ios(3.2))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:533:1:
 error: '__API_AVAILABLE2' does not name a type
   533 | __API_AVAILABLE(macos(10.6), ios(3.2))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:538:1:
 error: '__API_AVAILABLE2' does not name a type
   538 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:542:1:
 error: '__API_AVAILABLE2' does not name a type
   542 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:545:1:
 error: '__API_AVAILABLE2' does not name a type
   545 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:548:1:
 error: '__API_AVAILABLE2' does not name a type
   548 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:552:1:
 error: '__API_AVAILABLE2' does not name a type
   552 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:556:1:
 error: '__API_AVAILABLE2' does not name a type
   556 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:562:1:
 error: '__API_AVAILABLE2' does not name a type
   562 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:572:1:
 error: '__API_AVAILABLE2' does not name a type
   572 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:575:1:
 error: '__API_AVAILABLE2' does not name a type
   575 | __API_AVAILABLE(macos(10.5), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:578:1:
 error: '__API_AVAILABLE2' does not name a type
   578 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:582:1:
 error: '__API_AVAILABLE2' does not name a type
   582 | __API_AVAILABLE(macos(10.4), ios(2.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:586:1:
 error: '__API_AVAILABLE1' does not name a type
   586 | __API_AVAILABLE(macos(11.0))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:590:1:
 error: '__API_AVAILABLE2' does not name a type
   590 | __API_AVAILABLE(macos(11.0), ios(17.4))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:694:1:
 error: '__API_AVAILABLE2' does not name a type
   694 | __API_AVAILABLE(macos(11.4), ios(17.4))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:725:1:
 error: '__API_AVAILABLE2' does not name a type
   725 | __API_AVAILABLE(macos(12.1), ios(17.4))
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/pthread.h:744:1:
 error: '__API_AVAILABLE4' does not name a type
   744 | __API_AVAILABLE(macos(11.0), ios(14.2), tvos(14.2), watchos(7.1))
       | ^~~~~~~~~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_create(_opaque_pthread_t**, void* (*)(void*),
 void*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:676:10: error: 'pthread_create' was not declared in this scope;
 did you mean 'pthread_t'?
   676 |   return __gthrw_(pthread_create) (__threadid, NULL, __func,
 __args);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_join(__gthread_t, void**)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:682:10: error: 'pthread_join' was not declared in this scope;
 did you mean 'pthread_t'?
   682 |   return __gthrw_(pthread_join) (__threadid, __value_ptr);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_detach(__gthread_t)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:688:10: error: 'pthread_detach' was not declared in this scope;
 did you mean 'pthread_t'?
   688 |   return __gthrw_(pthread_detach) (__threadid);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_equal(__gthread_t, __gthread_t)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:694:10: error: 'pthread_equal' was not declared in this scope;
 did you mean 'thread_local'?
   694 |   return __gthrw_(pthread_equal) (__t1, __t2);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function '_opaque_pthread_t* __gthread_self()':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:700:10: error: 'pthread_self' was not declared in this scope;
 did you mean 'pthread_t'?
   700 |   return __gthrw_(pthread_self) ();
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_once(__gthread_once_t*, void (*)())':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:713:12: error: 'pthread_once' was not declared in this scope;
 did you mean 'pthread_once_t'?
   713 |     return __gthrw_(pthread_once) (__once, __func);
       |            ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:721:10: error: 'pthread_key_create' was not declared in this
 scope; did you mean 'pthread_key_t'?
   721 |   return __gthrw_(pthread_key_create) (__key, __dtor);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_key_delete(__gthread_key_t)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:727:10: error: 'pthread_key_delete' was not declared in this
 scope; did you mean 'pthread_key_t'?
   727 |   return __gthrw_(pthread_key_delete) (__key);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'void* __gthread_getspecific(__gthread_key_t)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:733:10: error: 'pthread_getspecific' was not declared in this
 scope
   733 |   return __gthrw_(pthread_getspecific) (__key);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_setspecific(__gthread_key_t, const void*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:739:10: error: 'pthread_setspecific' was not declared in this
 scope
   739 |   return __gthrw_(pthread_setspecific) (__key, __ptr);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:746:5: error: 'pthread_mutex_init' was not declared in this
 scope; did you mean 'pthread_mutex_t'?
   746 |     __gthrw_(pthread_mutex_init) (__mutex, NULL);
       |     ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_mutex_destroy(__gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:753:12: error: 'pthread_mutex_destroy' was not declared in this
 scope; did you mean 'pthread_mutexattr_t'?
   753 |     return __gthrw_(pthread_mutex_destroy) (__mutex);
       |            ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:762:12: error: 'pthread_mutex_lock' was not declared in this
 scope; did you mean 'pthread_mutex_t'?
   762 |     return __gthrw_(pthread_mutex_lock) (__mutex);
       |            ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:771:12: error: 'pthread_mutex_trylock' was not declared in this
 scope; did you mean 'pthread_mutex_t'?
   771 |     return __gthrw_(pthread_mutex_trylock) (__mutex);
       |            ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:792:12: error: 'pthread_mutex_unlock' was not declared in this
 scope; did you mean 'pthread_mutex_t'?
   792 |     return __gthrw_(pthread_mutex_unlock) (__mutex);
       |            ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int
 __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:807:13: error: 'pthread_mutexattr_init' was not declared in this
 scope; did you mean 'pthread_mutexattr_t'?
   807 |       __r = __gthrw_(pthread_mutexattr_init) (&__attr);
       |             ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:809:15: error: 'pthread_mutexattr_settype' was not declared in
 this scope; did you mean 'pthread_mutexattr_t'?
   809 |         __r = __gthrw_(pthread_mutexattr_settype) (&__attr,
       |               ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:812:15: error: 'pthread_mutex_init' was not declared in this
 scope; did you mean 'pthread_mutex_t'?
   812 |         __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
       |               ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:814:15: error: 'pthread_mutexattr_destroy' was not declared in
 this scope; did you mean 'pthread_mutexattr_t'?
   814 |         __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
       |               ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_cond_broadcast(__gthread_cond_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:866:10: error: 'pthread_cond_broadcast' was not declared in this
 scope; did you mean 'pthread_condattr_t'?
   866 |   return __gthrw_(pthread_cond_broadcast) (__cond);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_cond_signal(__gthread_cond_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:872:10: error: 'pthread_cond_signal' was not declared in this
 scope; did you mean 'pthread_cond_t'?
   872 |   return __gthrw_(pthread_cond_signal) (__cond);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:878:10: error: 'pthread_cond_wait' was not declared in this
 scope; did you mean 'pthread_cond_t'?
   878 |   return __gthrw_(pthread_cond_wait) (__cond, __mutex);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_cond_timedwait(__gthread_cond_t*,
 __gthread_mutex_t*, const __gthread_time_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:885:10: error: 'pthread_cond_timedwait' was not declared in this
 scope; did you mean 'pthread_condattr_t'?
   885 |   return __gthrw_(pthread_cond_timedwait) (__cond, __mutex,
 __abs_timeout);
       |          ^~~~~~~~
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-default.h: In
 function 'int __gthread_cond_destroy(__gthread_cond_t*)':
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/gthr-
 default.h:898:10: error: 'pthread_cond_destroy' was not declared in this
 scope; did you mean 'pthread_condattr_t'?
   898 |   return __gthrw_(pthread_cond_destroy) (__cond);
       |          ^~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:
 At global scope:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:57:1:
 error: '__API_UNAVAILABLE5' does not name a type
    57 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_malloc(size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(1);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:58:1:
 error: '__API_UNAVAILABLE5' does not name a type
    58 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_calloc(size_t count,
 size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(1,2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:59:1:
 error: '__API_UNAVAILABLE5' does not name a type
    59 | _MALLOC_TYPE_AVAILABILITY void  malloc_type_free(void *
 __unsafe_indexable ptr, malloc_type_id_t type_id);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:60:1:
 error: '__API_UNAVAILABLE5' does not name a type
    60 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_realloc(void *
 __unsafe_indexable ptr, size_t size, malloc_type_id_t type_id)
 __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:61:1:
 error: '__API_UNAVAILABLE5' does not name a type
    61 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_valloc(size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(1);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:62:1:
 error: '__API_UNAVAILABLE5' does not name a type
    62 | _MALLOC_TYPE_AVAILABILITY void *malloc_type_aligned_alloc(size_t
 alignment, size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:64:1:
 error: '__API_UNAVAILABLE5' does not name a type
    64 | _MALLOC_TYPE_AVAILABILITY int   malloc_type_posix_memalign(void *
 __unsafe_indexable *memptr, size_t alignment, size_t size,
 malloc_type_id_t type_id) /*__alloc_size(3)*/;
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:71:1:
 error: '__API_UNAVAILABLE5' does not name a type
    71 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:72:1:
 error: '__API_UNAVAILABLE5' does not name a type
    72 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2,3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:73:1:
 error: '__API_UNAVAILABLE5' does not name a type
    73 | _MALLOC_TYPE_AVAILABILITY void
 malloc_type_zone_free(malloc_zone_t *zone, void * __unsafe_indexable ptr,
 malloc_type_id_t type_id);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:74:1:
 error: '__API_UNAVAILABLE5' does not name a type
    74 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_realloc(malloc_zone_t *zone, void * __unsafe_indexable
 ptr, size_t size, malloc_type_id_t type_id) __result_use_check
 __alloc_size(3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:75:1:
 error: '__API_UNAVAILABLE5' does not name a type
    75 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size,
 malloc_type_id_t type_id) __result_use_check __alloc_size(2);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/malloc/_malloc_type.h:76:1:
 error: '__API_UNAVAILABLE5' does not name a type
    76 | _MALLOC_TYPE_AVAILABILITY void
 *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t
 size, malloc_type_id_t type_id) __result_use_check __alloc_size(3);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:182:1:
 error: '__API_AVAILABLE1' does not name a type
   182 | __API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
       | ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:220:56:
 error: expected initializer before '__API_AVAILABLE4'
   220 | int ptsname_r(int fildes, char *buffer, size_t buflen)
 __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
       |
 ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:351:9:
 error: expected initializer before '__API_AVAILABLE4'
   351 |         __API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0),
 watchos(6.0));
       |         ^~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:359:9:
 error: expected initializer before '__API_AVAILABLE4'
   359 |         __API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0),
 watchos(7.0));
       |         ^~~~~~~~~~~~~~~
 /opt/local/include/gcc14/c++/cstdlib:173:11: error: 'system' has not been
 declared in '::'
   173 |   using ::system;
       |           ^~~~~~
 Multiple include guards may be useful for:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_posix_availability.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_symbol_aliasing.h
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/ctype_base.h
 /opt/local/include/gcc14/c++/arm64-apple-darwin23/bits/ctype_inline.h
 /opt/local/include/gcc14/c++/clocale
 /opt/local/include/gcc14/c++/cstdio
 /opt/local/include/gcc14/c++/cstdlib
 /opt/local/include/gcc14/c++/cwctype
 }}}
 Should there be 14.5 SDK?
 {{{
  du -h -s /Library/Developer/CommandLineTools/SDKs/MacOSX*
   0B    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 268K    /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk
 272M    /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk
   0B    /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 268M    /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk
   0B    /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 305M    /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk
   0B    /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70331#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list