How do people feel about putting source compiler directives inside rdmd?
invalid at example.com
Mon Dec 9 12:19:31 UTC 2019
On Tuesday, 3 December 2019 at 18:39:12 UTC, bachmeier wrote:
> [...] rdmd works, so let's not break it without a really good
> reason, and I haven't seen a really good reason.
No, it doesn't. The script isn't executed, or if it is there's no
effect, but the exit code doesn't indicate an error either.
Using #!/usr/bin/dmd -run doesn't work either (out of the box)
if /tmp is mounted noexec.
On Wednesday, 4 December 2019 at 00:40:42 UTC, bachmeier wrote:
> On Tuesday, 3 December 2019 at 20:54:19 UTC, aliak wrote:
>> You asked for compiler source directive use cases.
>> And yes, point being he can't use rdmd for writing the scripts
>> he needs to write.
> I don't find it convincing to see use cases that are already
> done with other tools.
So you're saying that ldc and gdc are duplicated and hence wasted
In my mind having options and alternatives is as good a thing as
diversity can be.
More information about the Digitalmars-d