Skip to content

Commit 8045591

Browse files
hahnjodpiparo
authored andcommitted
std_darwin.modulemap: Break cyclic module dependencies
With the latest MacOSX15.0.sdk, Clang complains about a "cyclic dependency in module 'std': std -> _wctype -> __wctype -> std". Break this cycle by deleting the module for ctype.h in libc++, it only includes ctype.h from the C library which has its own module definition. Closes #16219
1 parent 9669d42 commit 8045591

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

interpreter/cling/include/cling/std_darwin.modulemap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,6 @@ module std_complex_h [system] {
429429
header "complex.h"
430430
export *
431431
}
432-
module std_ctype_h [system] {
433-
header "ctype.h"
434-
export *
435-
}
436432
module std_errno_h [system] {
437433
header "errno.h"
438434
export *

0 commit comments

Comments
 (0)