importC | Using D with Raylib directly | No bindings | [video]
jmh530
john.michael.hall at gmail.com
Mon Aug 8 14:54:07 UTC 2022
On Monday, 8 August 2022 at 13:01:46 UTC, Petar Kirov
[ZombineDev] wrote:
> On Monday, 8 August 2022 at 05:39:29 UTC, Ki Rill wrote:
>> On Sunday, 7 August 2022 at 13:53:12 UTC, Steven Schveighoffer
>> wrote:
>>> Also, IIRC, in the latest master of DMD, there is an attempt
>>> to run the system preprocessor automatically. But I'm not
>>> sure of the state of it, or if it's in the latest release
>>> (which we are having trouble publishing still).
>>
>> I've read about this somewhere. It would be nice to have the
>> preprocessor run automatically and, maybe in the future, add
>> those #defines for the user.
>
> I think this was recently documented here:
> https://dlang.org/spec/importc.html#preprocessor
>
> Give it a read, try it out and let us know how it works out!
It says:
"Otherwise the cpp preprocessor will be used."
You mean the default system cpp preprocessor, correct?
I wouldn't be surprised if someone asks for the ability to set
their own defaults.
More information about the Digitalmars-d-announce
mailing list