https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827

            Bug ID: 116827
           Summary: New C++ failures in macOS 15
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

I am seeing a lot of new C++ failures in the testsuite when I test on macOS 15
(Sequoia), that aren't there for macOS 14. I believe it is probably due to SDK
incompatibilities. The list of new failures is:

+XPASS: c-c++-common/analyzer/flex-with-call-summaries.c
+FAIL: c-c++-common/analyzer/flex-with-call-summaries.c
+XPASS: c-c++-common/analyzer/flex-with-call-summaries.c
+FAIL: c-c++-common/analyzer/flex-with-call-summaries.c
+FAIL: c-c++-common/analyzer/flex-without-call-summaries.c
+FAIL: c-c++-common/analyzer/strndup-1.c
+FAIL: g++.dg/modules/binding-1_a.H
+FAIL: g++.dg/modules/binding-1_b.H
+FAIL: g++.dg/modules/binding-1_c.C
+UNRESOLVED: g++.dg/modules/contracts-1
+FAIL: g++.dg/modules/contracts-1_a.C
+FAIL: g++.dg/modules/contracts-1_b.C
+UNRESOLVED: g++.dg/modules/contracts-2
+FAIL: g++.dg/modules/contracts-2_a.C
+FAIL: g++.dg/modules/contracts-2_b.C
+FAIL: g++.dg/modules/contracts-2_c.C
+UNRESOLVED: g++.dg/modules/contracts-3
+FAIL: g++.dg/modules/contracts-3_a.C
+FAIL: g++.dg/modules/contracts-3_b.C
+UNRESOLVED: g++.dg/modules/contracts-4
+FAIL: g++.dg/modules/contracts-4_a.C
+FAIL: g++.dg/modules/contracts-4_b.C
+FAIL: g++.dg/modules/contracts-4_c.C
+FAIL: g++.dg/modules/contracts-4_d.C
+UNRESOLVED: g++.dg/modules/global-2
+FAIL: g++.dg/modules/global-2_a.C
+FAIL: g++.dg/modules/global-2_b.C
+UNRESOLVED: g++.dg/modules/global-3
+FAIL: g++.dg/modules/global-3_a.C
+FAIL: g++.dg/modules/global-3_b.C
+UNRESOLVED: g++.dg/modules/hello-1
+FAIL: g++.dg/modules/hello-1_a.C
+FAIL: g++.dg/modules/hello-1_b.C
+UNRESOLVED: g++.dg/modules/hello-2
+FAIL: g++.dg/modules/hello-2_a.C
+FAIL: g++.dg/modules/hello-2_b.C
+UNRESOLVED: g++.dg/modules/iostream-1
+FAIL: g++.dg/modules/iostream-1_a.H
+FAIL: g++.dg/modules/iostream-1_b.C
+FAIL: g++.dg/modules/part-5_c.C
+FAIL: g++.dg/modules/pr99023_b.X
+FAIL: g++.dg/modules/pr99166_a.X
+FAIL: g++.dg/modules/pr99166_b.C
+FAIL: g++.dg/modules/pr99166_c.C
+FAIL: g++.dg/modules/pr99166_d.C
+FAIL: g++.dg/modules/pr99425-2_b.X
+UNRESOLVED: g++.dg/modules/stdio-1
+FAIL: g++.dg/modules/stdio-1_a.H
+FAIL: g++.dg/modules/stdio-1_b.C
+FAIL: g++.dg/modules/string-1_a.H
+FAIL: g++.dg/modules/string-1_b.C
+FAIL: g++.dg/modules/string-view1.C
+UNRESOLVED: g++.dg/modules/target-aarch64-1
+FAIL: g++.dg/modules/target-aarch64-1_a.C
+FAIL: g++.dg/modules/target-aarch64-1_b.C
+FAIL: g++.dg/modules/using-26_a.C
+FAIL: g++.dg/modules/using-26_b.C
+FAIL: g++.dg/modules/using-26_c.C
+FAIL: g++.dg/modules/xtreme-header-1_a.H
+FAIL: g++.dg/modules/xtreme-header-1_b.C
+FAIL: g++.dg/modules/xtreme-header-1_c.C
+FAIL: g++.dg/modules/xtreme-header-2_a.H
+FAIL: g++.dg/modules/xtreme-header-2_b.C
+FAIL: g++.dg/modules/xtreme-header-2_c.C
+FAIL: g++.dg/modules/xtreme-header-3_a.H
+FAIL: g++.dg/modules/xtreme-header-3_b.C
+FAIL: g++.dg/modules/xtreme-header-3_c.C
+FAIL: g++.dg/modules/xtreme-header-4_a.H
+FAIL: g++.dg/modules/xtreme-header-4_b.C
+FAIL: g++.dg/modules/xtreme-header-4_c.C
+FAIL: g++.dg/modules/xtreme-header-5_a.H
+FAIL: g++.dg/modules/xtreme-header-5_b.C
+FAIL: g++.dg/modules/xtreme-header-5_c.C
+FAIL: g++.dg/modules/xtreme-header-6_a.H
+FAIL: g++.dg/modules/xtreme-header-6_b.C
+FAIL: g++.dg/modules/xtreme-header-6_c.C
+FAIL: g++.dg/modules/xtreme-header-7_a.H
+FAIL: g++.dg/modules/xtreme-header-7_b.C
+FAIL: g++.dg/modules/xtreme-header_a.H
+FAIL: g++.dg/modules/xtreme-header_b.C


I've looked at a number of them, and the common pattern is:

spawn -ignore SIGHUP /Users/fx/ibin-20240923/gcc/testsuite/g++/../../xg++
-B/Users/fx/ibin-20240923/gcc/testsuite/g++/../../
/Users/fx/gcc-darwin-arm64/gcc/testsuite/g++.dg/modules/binding-1_a.H
-fdiagnostics-plain-output -nostdinc++
-I/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/aarch64-apple-darwin24
-I/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include
-I/Users/fx/gcc-darwin-arm64/libstdc++-v3/libsupc++
-I/Users/fx/gcc-darwin-arm64/libstdc++-v3/include/backward
-I/Users/fx/gcc-darwin-arm64/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++17 -pedantic-errors -Wno-long-long -fmodule-header -S -o binding-1_a.s
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/_types.h:34,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:33,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:70,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:67,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:47,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/postypes.h:40,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/iosfwd:42,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ios:40,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ostream:40,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/iostream:41,
                 from
/Users/fx/gcc-darwin-arm64/gcc/testsuite/g++.dg/modules/binding-1_a.H:5:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:75:9:
error: 'ptrdiff_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:75:9:
note: 'ptrdiff_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:85:9:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:85:9:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
In file included from /Users/fx/ibin-20240923/gcc/include-fixed/stdio.h:75,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:90:
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:254:1: error: 'size_t' does
not name a type
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:254:1: note: 'size_t' is
defined in header '<cstddef>'; this is probably fixable by adding '#include
<cstddef>'
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:261:1: error: 'size_t' does
not name a type
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:261:1: note: 'size_t' is
defined in header '<cstddef>'; this is probably fixable by adding '#include
<cstddef>'
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:281:61: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:450:44: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:453:45: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:470:46: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:471:45: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:472:41: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:473:37: error: 'size_t' has
not been declared
/Users/fx/ibin-20240923/gcc/include-fixed/_stdio.h:488:25: error: 'size_t' has
not been declared
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/time.h:63,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:91:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_time.h:116:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_time.h:116:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_ctype.h:71,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ctype.h:66,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/___wctype.h:72,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/__wctype.h:39,
                 from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:92:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/runetype.h:81:53:
error: '__darwin_size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/runetype.h:82:64:
error: '__darwin_size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:107:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:107:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:108:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:108:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:111:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:111:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:115:40:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:120:41:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:123:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:123:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:129:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:129:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:130:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:130:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:132:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:132:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:133:68:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:134:51:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:135:69:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:138:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:138:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:140:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:140:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:142:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:142:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:150:44:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:151:51:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:152:68:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:153:47:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:154:38:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:157:35:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:195:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:195:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:198:68:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:201:55:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:202:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:202:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:203:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:203:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:205:42:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:215:37:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:216:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:216:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:217:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wchar.h:217:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:153:11:
error: 'mbrlen' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:154:11:
error: 'mbrtowc' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:156:11:
error: 'mbsrtowcs' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:178:11:
error: 'wcrtomb' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:183:11:
error: 'wcscspn' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:184:11:
error: 'wcsftime' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:185:11:
error: 'wcslen' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:189:11:
error: 'wcsrtombs' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:190:11:
error: 'wcsspn' has not been declared in '::'
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/cwchar:198:11:
error: 'wcsxfrm' has not been declared in '::'
In file included from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/exception_ptr.h:36,
                 from
/Users/fx/gcc-darwin-arm64/libstdc++-v3/libsupc++/exception:166,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ios:41:
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/cxxabi_init_exception.h:63:32:
error: 'size_t' was not declared in this scope; did you mean 'std::size_t'?
In file included from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/requires_hosted.h:31,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/iostream:38:
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/aarch64-apple-darwin24/bits/c++config.h:326:33:
note: 'std::size_t' declared here
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/exception_ptr.h:
In function 'std::__exception_ptr::exception_ptr std::make_exception_ptr(_Ex)':
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/exception_ptr.h:253:55:
error: '__cxxabiv1::__cxa_allocate_exception' cannot be used as a function
[-Wtemplate-body]
In file included from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ios:42:
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/char_traits.h:
In static member function 'static constexpr std::size_t
std::char_traits<wchar_t>::length(const char_type*)':
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/char_traits.h:522:16:
error: 'wcslen' was not declared in this scope
In file included from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/aarch64-apple-darwin24/bits/gthr-default.h:35,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/aarch64-apple-darwin24/bits/gthr.h:157,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ext/atomicity.h:35,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/bits/ios_base.h:39,
                 from
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/ios:44:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h: At
global scope:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:236:66:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:253:57:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:260:66:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:269:49:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:285:53:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:291:49:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:531:44:
error: 'size_t' has not been declared
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:546:1:
error: 'size_t' does not name a type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:546:1:
note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by
adding '#include <cstddef>'
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:746:23:
error: 'size_t' was not declared in this scope; did you mean 'std::size_t'?
/Users/fx/ibin-20240923/aarch64-apple-darwin24/libstdc++-v3/include/aarch64-apple-darwin24/bits/c++config.h:326:33:
note: 'std::size_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:746:31:
error: 'cpu_number_out' was not declared in this scope
[… snip …]

Reply via email to