October 10, 2022 [Issue 23401] New: importc can't select preprocessor | ||||
|---|---|---|---|---|
| ||||
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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply