[Issue 24546] New: importC musl setjmp.h failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 8 18:41:41 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24546

          Issue ID: 24546
           Summary: importC musl setjmp.h failure
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: johanengelen at weka.io

importC fails on musl libc setjmp.h, this line:
https://github.com/cloudius-systems/musl/blob/00733dd1cf791d13ff6155509cf139a5f7b2eecb/include/setjmp.h#L15

It uses identifier `__ss` which is #defined by D's importc.h:
https://github.com/dlang/dmd/blame/046679129774bf886e0650fa593c24fb2c7de499/druntime/src/importc.h#L73

Is it really needed to define `__ss` ?

--


More information about the Digitalmars-d-bugs mailing list