[Issue 24444] New: ImportC: no way to specify where header files "live"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 20 17:04:05 UTC 2024


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

          Issue ID: 24444
           Summary: ImportC: no way to specify where header files "live"
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: atila.neves at gmail.com

This C file fails to compile with ImportC on my system:

-------------------
#include <Python.h>
-------------------

The reason why is that `Python.h` is in `/usr/include/python3.11`. There's no
way to tell the compiler to look for headers in specific directories.

--


More information about the Digitalmars-d-bugs mailing list