digitalmars.D.bugs - [Issue 23401] New: importc can't select preprocessor
- d-bugmail puremagic.com (20/20) Oct 10 2022 https://issues.dlang.org/show_bug.cgi?id=23401
https://issues.dlang.org/show_bug.cgi?id=23401 Issue ID: 23401 Summary: importc can't select preprocessor Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: destructionator gmail.com When cross compiling, you often need to use a different preprocessor to get the right platform defines. the CC env var doesn't get used here and there's no switch to do it. Of course, dmd doesn't do much cross compile anyway but it would still be nice to have a way to do it. --
Oct 10 2022