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 root-project#16219
  • Loading branch information
hahnjo authored and sftnight committed Aug 19, 2024
1 parent ea4c066 commit 7a404d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions interpreter/cling/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 7a404d7

Please sign in to comment.