Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 20 [Issue 24444] ImportC: no way to specify where header files "live" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24444 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ImportC -- |
March 20 [Issue 24444] ImportC: no way to specify where header files "live" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24444 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl Hardware|x86_64 |All OS|Linux |All --- Comment #1 from Dennis <dkorpel@live.nl> --- There is the `-P=<preprocessorflag>` option: ``` dmd -P-I/usr/include/python3.11 ``` -- |
March 20 [Issue 24444] ImportC: no way to specify where header files "live" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24444 --- Comment #2 from Atila Neves <atila.neves@gmail.com> --- I see. The -P flag doesn't show up in the man page. -- |
March 20 [Issue 24444] ImportC: no way to specify where header files "live" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24444 Lance Bachmeier <lance@lancebachmeier.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lance@lancebachmeier.com --- Comment #3 from Lance Bachmeier <lance@lancebachmeier.com> --- To be honest, it's not that easy to find on this page either: https://dlang.org/spec/importc.html#manual-cpp Under "Running the Preprocessor Automatically" it says "The -Ppreprocessorflag switch passes preprocessorflag to the preprocessor." It's not even searchable using that wording. -- |
Copyright © 1999-2021 by the D Language Foundation