Opened 3 months ago

Closed 3 months ago

Last modified 2 months ago

#70331 closed defect (fixed)

gcc14 (c++) can not compile trivial program

Reported by: acmaggs (Anthony Maggs) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: gcc14

Description (last modified by jmroot (Joshua Root))

Macbook Air m1, sonoma 14.5 apple command line tools installed:

clang -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0

Take the program:

#include <iostream>
int
main(int argc, char * argv[]){
}

compile:

g++-mp-14 j.cc

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

Change History (36)

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: gcc14 removed

comment:2 Changed 3 months ago by cjones051073 (Chris Jones)

works fine here (and with a lot more complicated test cases which I always test with before pushing a new release).

Please build with

g++-mp-14 -H -v ./test.cc

and compare to what I post below.

Larissa ~/Downloads > g++-mp-14 -H -v ./test.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/_Users_chris_Projects_MacPorts_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' '--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' '-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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -H -D__DYNAMIC__ ./test.cc -fPIC -quiet -dumpdir a- -dumpbase test.cc -dumpbase-ext .cc -mmacosx-version-min=14.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -version -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccshuOxY.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 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
End of search list.
Compiler executable checksum: fbabe9d2e25ee51696a211228ff00565
. /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
....... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_symbol_aliasing.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_posix_availability.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/_types.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h
......... /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/AvailabilityInternal.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mbstate_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/types.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ct_rune_t.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_rune_t.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_clock_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timespec.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wctype.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/__wctype.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wint_t.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_wctype_t.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ctype.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h
.... /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
....... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/locale.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_attr_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_cond_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_key_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_once_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/qos.h
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/qos.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mach_port_t.h
......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigset_t.h
...... /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
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_pid_t.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_id_t.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/appleapiopts.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/signal.h
.............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/_mcontext.h
.............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine/_structs.h
................ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timeval.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/endian.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/endian.h
.............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_endian.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/machine/endian.h
............... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/_OSByteOrder.h
................ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/arm/OSByteOrder.h
................. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/arch.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc_type.h
............. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_ptrcheck.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_dev_t.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mode_t.h
.......... /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
.......... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/errno.h
........... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h
............ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
....... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wctype.h
........ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
Multiple include guards may be useful for:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_posix_availability.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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
COLLECT_GCC_OPTIONS='-H' '-v' '--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' '-mmacosx-version-min=14.0.0'  '-nodefaultexport' '-mcpu=apple-m1' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-'
 /opt/local/bin/as -arch arm64 -v -mmacosx-version-min=14.0 -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cccd9INN.o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccshuOxY.s
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple arm64-apple-macosx14.0.0 -filetype obj -main-file-name ccshuOxY.s -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -fdebug-compilation-dir=/Users/chris/Downloads -dwarf-debug-producer "Apple clang version 15.0.0 (clang-1500.3.9.4)" -dwarf-version=4 -mrelocation-model pic --mrelax-relocations -mllvm -disable-aligned-alloc-awareness=1 -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cccd9INN.o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccshuOxY.s
COMPILER_PATH=/opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/
LIBRARY_PATH=/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/../../../
COLLECT_GCC_OPTIONS='-H' '-v' '--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' '-mmacosx-version-min=14.0.0'  '-nodefaultexport' '-mcpu=apple-m1' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.'
 /opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/collect2 -demangle -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/ -dynamic -arch arm64 -platform_version macos 14.0.0 0.0 -o a.out -L/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0 -L/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/../../.. -lemutls_w -lheapt_w /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cccd9INN.o -lstdc++ -lgcc -lSystem -no_compact_unwind -rpath /opt/local/lib/libgcc -rpath @loader_path -rpath /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0 -rpath /opt/local/lib/gcc14

Also, what, if anything, do you have SDKROOT set to ? GCC respects this (just like clang) to define the SDK to build against.

Larissa ~/Downloads > echo $SDKROOT            
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk

comment:3 Changed 3 months ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:4 Changed 3 months ago by acmaggs (Anthony Maggs)

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

comment:5 Changed 3 months ago by cjones051073 (Chris Jones)

There is currently no 14.5 SDK for the CLT, Apple have not released an update.

I also have no problems when unetting SDKROOT and building against the CLT. Please compare the below to what you get and see if you can spot a difference.

Also, please ensure your CLT is completely up to date

Larissa ~/Downloads > unset SDKROOT
Larissa ~/Downloads > g++-mp-14 -H -v ./test.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/_Users_chris_Projects_MacPorts_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__ ./test.cc -fPIC -quiet -dumpdir a- -dumpbase test.cc -dumpbase-ext .cc -mmacosx-version-min=14.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -version -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cc9zY3wF.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: fbabe9d2e25ee51696a211228ff00565
. /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
........ /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
........ /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
.... /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
......... /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
...... /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
........... /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
.......... /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
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
COLLECT_GCC_OPTIONS='-H' '-v' '-mmacosx-version-min=14.0.0'  '-nodefaultexport' '-mcpu=apple-m1' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-'
 /opt/local/bin/as -arch arm64 -v -mmacosx-version-min=14.0 -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccGlOTJY.o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cc9zY3wF.s
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple arm64-apple-macosx14.0.0 -filetype obj -main-file-name cc9zY3wF.s -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -fdebug-compilation-dir=/Users/chris/Downloads -dwarf-debug-producer "Apple clang version 15.0.0 (clang-1500.3.9.4)" -dwarf-version=4 -mrelocation-model pic --mrelax-relocations -mllvm -disable-aligned-alloc-awareness=1 -o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccGlOTJY.o /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//cc9zY3wF.s
COMPILER_PATH=/opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/libexec/gcc/arm64-apple-darwin23/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/
LIBRARY_PATH=/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/:/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/../../../
COLLECT_GCC_OPTIONS='-H' '-v' '-mmacosx-version-min=14.0.0'  '-nodefaultexport' '-mcpu=apple-m1' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.'
 /opt/local/libexec/gcc/arm64-apple-darwin23/14.1.0/collect2 -demangle -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/ -dynamic -arch arm64 -platform_version macos 14.0.0 0.0 -o a.out -L/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0 -L/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/../../.. -lemutls_w -lheapt_w /var/folders/97/z7_b52957j36mhz075gflttr0000gn/T//ccGlOTJY.o -lstdc++ -lgcc -lSystem -no_compact_unwind -rpath /opt/local/lib/libgcc -rpath @loader_path -rpath /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0 -rpath /opt/local/lib/gcc14
Larissa ~/Downloads > echo $SDKROOT            
Last edited 3 months ago by cjones051073 (Chris Jones) (previous) (diff)

comment:6 Changed 3 months ago by cjones051073 (Chris Jones)

Please confirm the sum-links in your CLT SDK area

Larissa ~/Projects/MacPorts/ports > ls -lth /Library/Developer/CommandLineTools/SDKs/      
total 0
lrwxr-xr-x  1 root  wheel    14B  1 Jul 20:46 MacOSX.sdk -> MacOSX14.4.sdk
lrwxr-xr-x  1 root  wheel    14B  1 Jul 20:46 MacOSX13.sdk -> MacOSX13.3.sdk
lrwxr-xr-x  1 root  wheel    14B  1 Jul 20:45 MacOSX14.sdk -> MacOSX14.4.sdk
drwxr-xr-x  7 root  wheel   224B 20 Feb 00:28 MacOSX14.4.sdk
drwxr-xr-x  7 root  wheel   224B 12 May  2023 MacOSX13.3.sdk

comment:7 Changed 3 months ago by acmaggs (Anthony Maggs)

Again, gcc13 is working perfectly, so something is subtly different with gcc14. I never install Xcode in full version; I normally survive with the much smaller command line tools.

drwxr-xr-x  7 root  wheel   224B 12 mar 08:03 MacOSX13.3.sdk
lrwxr-xr-x  1 root  wheel    14B 12 mar 08:02 MacOSX.sdk -> MacOSX14.4.sdk
lrwxr-xr-x  1 root  wheel    14B 12 mar 08:02 MacOSX13.sdk -> MacOSX13.3.sdk
lrwxr-xr-x  1 root  wheel    14B 12 mar 08:01 MacOSX14.sdk -> MacOSX14.4.sdk
drwxr-xr-x  7 root  wheel   224B 20 fév 01:28 MacOSX14.4.sdk
drwxr-xr-x  7 root  wheel   224B  2 jui  2023 MacOSX12.3.sdk
lrwxr-xr-x  1 root  wheel    14B  2 jui  2023 MacOSX12.sdk -> MacOSX12.3.sdk
drwxr-xr-x  4 root  wheel   128B 14 déc  2021 MacOSX12.0.sdk
Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 3 months ago by cjones051073 (Chris Jones)

Bottom line is I am unable to reproduce this, so, for now it would appear unique to your set up. You therefore need to try and figure out for yourself what is causing it.

comment:9 Changed 3 months ago by cjones051073 (Chris Jones)

B.t.w. I repeat my comment about checking your CLT installation. My best guess is your problem lies there somehow. Please consider removing your current CLT installation and reinstalling it afresh making sure you have the latest version.

Normally I would recommend making sure your Xcode is up to date and run

xcode-select —install

to install the CLT but as you choose not to install Xcode you will have to figure out how to get the latest yourself.

Version 0, edited 3 months ago by cjones051073 (Chris Jones) (next)

comment:10 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

xcode-select --install is a valid way to install the command line tools if you do not already have them, regardless of whether Xcode is installed.

To reinstall the command line tools if you already have them see ProblemHotlist#reinstall-clt.

comment:11 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

A similar problem is reported here without solution:

https://stackoverflow.com/questions/78452523/g-works-but-g-14-produces-a-lot-of-errors-on-macos

Note that the error is occurring in copies of stdio.h and AvailabilityInternal.h that gcc has "fixed" in some unspecified way after first copying them from the SDK. It seems likely that a newer SDK contains changes that gcc was not anticipating, resulting in incorrect files.

Possibly related to #70328 which is another error originating from the "fixed" AvailabilityInternal.h.

Did you receive binaries of gcc14 and libgcc14 from our servers or compile them from source? If the former, maybe the problem is a mismatch between the SDK version used on the server, from which those "fixed" files were taken, and the SDK version you are now using.

comment:12 Changed 3 months ago by acmaggs (Anthony Maggs)

xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
softwareupdate -l
Software Update Tool

Finding available software
No new software available.

I installed the version which automatically downloaded which was the binary version. I can try forcing a local compile. Indeed the stackoverflow seems to be similar.

Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:13 Changed 3 months ago by mouse07410 (Mouse)

Apple Silicon M2 MacBook Pro, running MacOS Sonoma 14.5. Latest Xcode installed (15.4). With SDKROOT and CFLAGS not set:

$ cat hello.c
#include <stdio.h>

int main(int argc, char *argv[])
{
	printf("Hello, world!\n");
	return 0;
}
$
$ gcc-mp-12 -o h hello.c 
$ ./h
Hello, world!
$ gcc-mp-13 -o h hello.c
$ ./h                   
Hello, world!
$ gcc-mp-14 -o h hello.c
In file included from hello.c: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/_stdio.h:69,
                 from /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:78:
/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: In function 'fmemopen':
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:383:88: error: expected declaration specifiers 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: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)
      |             ^~~~~~~~~~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:384:54: error: expected '=', ',', ';', 'asm' or '__attribute__' 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));
      |                                                      ^~~~~~~~~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:394:20: error: storage class specified for parameter 'sys_nerr'
  394 | extern __const int sys_nerr;            /* perror(3) external variables */
      |                    ^~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:395:30: error: storage class specified for parameter 'sys_errlist'
  395 | extern __const char *__const sys_errlist[];
      |                              ^~~~~~~~~~~
In file included from /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:433:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/secure/_stdio.h:42:12: error: storage class specified for parameter '__sprintf_chk'
   42 | extern int __sprintf_chk (char * __restrict, int, size_t,
      |            ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/secure/_stdio.h:52:12: error: storage class specified for parameter '__snprintf_chk'
   52 | extern int __snprintf_chk (char * __restrict, size_t, int, size_t,
      |            ^~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/secure/_stdio.h:61:12: error: storage class specified for parameter '__vsprintf_chk'
   61 | extern int __vsprintf_chk (char * __restrict, int, size_t,
      |            ^~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/secure/_stdio.h:70:12: error: storage class specified for parameter '__vsnprintf_chk'
   70 | extern int __vsnprintf_chk (char * __restrict, size_t, int, size_t,
      |            ^~~~~~~~~~~~~~~
hello.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | {
      | ^
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:383:7: error: old-style parameter declarations in prototyped function definition
  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));
      |       ^~~~~~~~
hello.c:8: error: expected '{' at end of input
$ 

Setting SDKROOT:

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ ll /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 
total 0
drwxr-xr-x  5 root  wheel  160 May 14 10:53 ./
drwxr-xr-x  6 root  wheel  192 May  8 06:21 ../
drwxr-xr-x  7 root  wheel  224 Apr 25 14:57 MacOSX.sdk/
lrwxr-xr-x  1 root  wheel   10 May 14 10:51 MacOSX14.5.sdk@ -> MacOSX.sdk
lrwxr-xr-x  1 root  wheel   10 May 14 10:51 MacOSX14.sdk@ -> MacOSX.sdk
$ export SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
$ ll /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
total 40
drwxr-xr-x  7 root  wheel   224 Apr 25 14:57 ./
drwxr-xr-x  5 root  wheel   160 May 14 10:53 ../
-rw-r--r--  1 root  wheel   127 Apr 13 09:39 Entitlements.plist
-rw-r--r--  1 root  wheel  6613 Apr 13 09:39 SDKSettings.json
-rw-r--r--  1 root  wheel  4885 Apr 13 09:39 SDKSettings.plist
drwxr-xr-x  5 root  wheel   160 Apr 25 14:53 System/
drwxr-xr-x  7 root  wheel   224 Apr 25 14:53 usr/
$ gcc-mp-13 -o h hello.c
$ ./h
Hello, world!
$ gcc-mp-14 -o h hello.c
In file included from hello.c: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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:177,
                 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:69,
                 from /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:78:
/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: In function 'fmemopen':
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:383:88: error: expected declaration specifiers 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: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)
      |             ^~~~~~~~~~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:384:54: error: expected '=', ',', ';', 'asm' or '__attribute__' 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));
      |                                                      ^~~~~~~~~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:394:20: error: storage class specified for parameter 'sys_nerr'
  394 | extern __const int sys_nerr;            /* perror(3) external variables */
      |                    ^~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:395:30: error: storage class specified for parameter 'sys_errlist'
  395 | extern __const char *__const sys_errlist[];
      |                              ^~~~~~~~~~~
In file included from /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:433:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:42:12: error: storage class specified for parameter '__sprintf_chk'
   42 | extern int __sprintf_chk (char * __restrict, int, size_t,
      |            ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:52:12: error: storage class specified for parameter '__snprintf_chk'
   52 | extern int __snprintf_chk (char * __restrict, size_t, int, size_t,
      |            ^~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:61:12: error: storage class specified for parameter '__vsprintf_chk'
   61 | extern int __vsprintf_chk (char * __restrict, int, size_t,
      |            ^~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:70:12: error: storage class specified for parameter '__vsnprintf_chk'
   70 | extern int __vsnprintf_chk (char * __restrict, size_t, int, size_t,
      |            ^~~~~~~~~~~~~~~
hello.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | {
      | ^
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/stdio.h:383:7: error: old-style parameter declarations in prototyped function definition
  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));
      |       ^~~~~~~~
hello.c:8: error: expected '{' at end of input
$ 

In other words, very similar experience to what others reported.

Oh, and trying to set SDKROOT to an SDK (MacOSX.sdk or MacOSX14.sdk) in /Library/Developer/CommandLineTools/SDKs/ produced exactly the same failure.

Last edited 3 months ago by mouse07410 (Mouse) (previous) (diff)

comment:14 Changed 3 months ago by mouse07410 (Mouse)

Also, GCC (starting with v12?) stopped working correctly (at least on more-or-less complex inputs) when -stdlib=libc++ flag is given.

$ g++ -I/opt/local/include -std=c++20 -o t bs-main.cpp -L/opt/local/lib -lntl 
bs-main.cpp: In function 'HASHLIST* htNewExponent(int)':
bs-main.cpp:81:39: warning: NULL used in arithmetic [-Wpointer-arith]
   81 |     if( ( newList->value = value ) == NULL ) {
      |                                       ^~~~
Undefined symbols for architecture arm64:
  "NTL::operator>>(std::istream&, NTL::ZZ&)", referenced from:
      __ZN3NTL4convINS_2ZZEPKcEEN14_ntl_enable_ifIXsr20_ntl_is_char_pointerIT0_E5valueEvE4typeERT_S6_ in ccGysLbd.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
$ g++ -stdlib=libc++ -I/opt/local/include -std=c++20 -o t bs-main.cpp -L/opt/local/lib -lntl
In file included from /opt/local/libexec/gcc12/libc++/include/c++/v1/new:99,
                 from /opt/local/include/NTL/new.h:5,
                 from /opt/local/include/NTL/tools.h:11,
                 from /opt/local/include/NTL/ZZ.h:19,
                 from bs-main.cpp:7:
/opt/local/libexec/gcc12/libc++/include/c++/v1/cstdlib:144:9: error: 'at_quick_exit' has not been declared in '::'
  144 | using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~~~
/opt/local/libexec/gcc12/libc++/include/c++/v1/cstdlib:145:9: error: 'quick_exit' has not been declared in ::'
  145 | using ::quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
bs-main.cpp: In function 'HASHLIST* htNewExponent(int)':
bs-main.cpp:81:39: warning: NULL used in arithmetic [-Wpointer-arith]
   81 |     if( ( newList->value = value ) == NULL ) {
      |                                       ^~~~
$
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/arm64-apple-darwin23/12.4.0/lto-wrapper
Target: arm64-apple-darwin23
Configured with: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc12/gcc12/work/gcc-12.4.0/configure --prefix=/opt/local --build=arm64-apple-darwin23 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-12 --with-gxx-include-dir=/opt/local/include/gcc12/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/gcc12/libc++/include/c++/v1 --with-pkgversion='MacPorts gcc12 12.4.0_0+stdlib_flag' --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.4.0 (MacPorts gcc12 12.4.0_0+stdlib_flag) 
$ 

Since all the Macports-installed libraries (like NTL in this case) are in libc++ format, inability to support it is a show-stopper for GCC use.

Needless to say, Clang++ works fine:

$ clang++ -I/opt/local/include -std=c++20 -o t bs-main.cpp -L/opt/local/lib -lntl
bs-main.cpp:81:36: warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
    if( ( newList->value = value ) == NULL ) {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
1 warning generated.
$ ./t
Building hashtable...

Collisions:11695

Time: 0.327223 sec
Searching for collision...
715969 * B + 262758 = x

Time: 0.252635 sec
^C
$

comment:15 Changed 3 months ago by cjones051073 (Chris Jones)

Ryan, are all the build bots currently up to date with the versions of Xcode and CLt they have installed ? If these differ from the most recent, which then users probably have installed, this could cause problems. If they are behind can you update them ?

comment:16 in reply to:  15 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to cjones051073:

Ryan, are all the build bots currently up to date with the versions of Xcode and CLt they have installed ?

No. You can see what they have installed by looking on the build web site, for example https://build.macports.org/buildslaves/ports-14_x86_64

comment:17 Changed 3 months ago by mouse07410 (Mouse)

But Xcode-15.2 that appears to be on the buildbot(s) shouldn't be too far behind the current 15.4, and IMHO should've definitely exposed this problem.

And GCC-14 is 100% broken on both of my Macs - Intel x86_64 and Silicon M2 (both run Sonoma 14.5 and Xcode-15.4).

comment:18 Changed 3 months ago by cjones051073 (Chris Jones)

Mouse, my point was I suspect GCC has changed something that has made them sensitive to the precise Xcode version, so whilst I do not disagree they shouldn't be sensitive to the exact Xcode version, the fact you are up to date and the build bots are not are I think the probably (part of) the problem.

Can you please try a few things.

  1. Try gcc13 and gcc12. gcc13 required the same changes as gcc14 in order for the latest versions to work, which include fixes for the 'fixincludes' mechanisms GCC has ( see https://github.com/iains/gcc-13-branch/issues/20 for the details). gcc12 does not though.
  2. Try building libgcc14+gcc14 from source, so against the SDK you have. I have the latest Xcode and my version works fine, but this is from when I built from source myself locally before pushing the new version).

If we can prove to ourselves that it is GCC that is overly senstive to the SDK used to build itself, then a bug report should be opened at

https://github.com/iains/gcc-14-branch/issues

and/or

https://github.com/iains/gcc-13-branch/issues

comment:19 Changed 3 months ago by cjones051073 (Chris Jones)

OK, I can reproduce this by switching to the buildbot binary install of gcc14.

comment:20 Changed 3 months ago by cjones051073 (Chris Jones)

binary install of gcc13 does not appear to have the same problem.

comment:21 Changed 3 months ago by cjones051073 (Chris Jones)

comment:22 Changed 3 months ago by szhorvat (Szabolcs Horvát)

I can't compile any C program that includes <math.h>. I'm not sure if it's the same issue. Example:

// x.c
#include <math.h>

int main(void) { return 0; }

gcc-mp-14 x.c

The problem is not present with GCC 13.

There are pages of errors that start with:

/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/math.h:604:67: error: macro "__API_AVAILABLE2" requires 3 arguments, but only 2 given
  604 | extern float __exp10f(float) __API_AVAILABLE(macos(10.9), ios(7.0));
      |                                                                   ^
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/Availability.h:177,
                 from /opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/math.h:47:
/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)
      |             ^~~~~~~~~~~~~~~~
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/math.h: In function '__exp10f':
/opt/local/lib/gcc14/gcc/arm64-apple-darwin23/14.1.0/include-fixed/math.h:604:30: error: expected declaration specifiers before '__API_AVAILABLE2'
  604 | extern float __exp10f(float) __API_AVAILABLE(macos(10.9), ios(7.0));
      |                              ^~~~~~~~~~~~~~~

comment:23 Changed 3 months ago by cjones051073 (Chris Jones)

I would say very likely the same issue.

comment:24 Changed 3 months ago by cjones051073 (Chris Jones)

If you feel inclined please add your additional feedback to the github issue.

comment:25 Changed 3 months ago by mouse07410 (Mouse)

Mouse, my point was I suspect GCC has changed something that has made them sensitive to the precise Xcode version, so whilst I do not disagree they shouldn't be sensitive to the exact Xcode version, the fact you are up to date and the build bots are not are I think the probably (part of) the problem.

I honestly do not know.

Try gcc13 and gcc12.

Both gcc13 and gcc12 fail when -stdlib=libc++ flag is set. Both gcc12 and gcc13 succeed otherwise.

Try building libgcc14+gcc14 from source, so against the SDK you have. I have the latest Xcode and my version works fine, but this is from when I built from source myself locally before pushing the new version).

Yuk. That's a tall request for me - last time I built GCC myself from sources was a decade or two ago.

comment:26 Changed 3 months ago by cjones051073 (Chris Jones)

Please do not confuse the issue here with the problems with using -stdlib=libc++ - That is an entirely different issue.

Currently gcc12 and gcc13 do *not* show the same issues as gcc14, when targetting the default GCC libstdc++

When I said build gcc14 from source, I did not mean by hand. I just mean using the -s flag with port to force a build from source instead of using the binary installation tarballs.

That said, you no longer need to do that check as I effectively did it myself.

comment:27 Changed 3 months ago by mouse07410 (Mouse)

Currently gcc12 and gcc13 do *not* show the same issues as gcc14, when targetting the default GCC libstdc++

That is correct, and confirmed on my machines (both Intel and Apple Silicon).

When I said build gcc14 from source, I did not mean by hand. I just mean using the -s flag with port to force a build from source instead of using the binary installation tarballs.

LOL I wish I understood that earlier. ;-)

comment:28 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

To be more specific: sudo port -ns upgrade --force libgcc14 && sudo port -ns upgrade --force gcc14. -s to build from source, --force to "upgrade" (rebuild) even if not outdated, and -n so that dependencies do not get rebuilt.

comment:29 in reply to:  21 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to cjones051073:

https://github.com/iains/gcc-14-branch/issues/7

Here we've worked out that the problem is that MacPorts gcc14 is using a patch to get to iains' gcc-14.1-darwin-r0 tag, but the problem was fixed in the gcc-14.1-darwin-r1 tag, so the patch needs to be updated. Here is the diff between r0 and r1.

comment:30 Changed 3 months ago by cjones051073 (Chris Jones)

yeah, I missed I was using the r0 and not r1 tag... Testing an update locally now.

Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:31 Changed 3 months ago by Chris Jones <jonesc@…>

comment:32 Changed 3 months ago by cjones051073 (Chris Jones)

comment:33 Changed 3 months ago by mouse07410 (Mouse)

When I installed GCC14 port from source (sudo port upgrade -ns --force gcc14, as Ryan showed), the compiler started working.

comment:34 Changed 3 months ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed

binary tar balls are now also fixed, following the above commit.

comment:35 Changed 2 months ago by acmaggs (Anthony Maggs)

Original reporter here. This was fixed, but seems to have regressed in the most recent gcc14 (g++-mp-14 (MacPorts gcc14 14.2.0_0+stdlib_flag) 14.2.0)

comment:36 Changed 2 months ago by cjones051073 (Chris Jones)

Yes, see https://github.com/iains/gcc-14-branch/issues/9

When there is a new tag I will update.

Note: See TracTickets for help on using tickets.