Skip to content

Commit

Permalink
std_darwin.modulemap: Break cyclic module dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hahnjo authored and jenkins committed Aug 13, 2024
1 parent 52df1a5 commit c83f15b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/cling/std_darwin.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ module std_complex_h [system] {
header "complex.h"
export *
}
module std_ctype_h [system] {
header "ctype.h"
export *
}
module std_errno_h [system] {
header "errno.h"
export *
Expand Down

0 comments on commit c83f15b

Please sign in to comment.