| |
| Posted by Richard (Rikki) Andrew Cattermole in reply to Lance Bachmeier | PermalinkReply |
|
Richard (Rikki) Andrew Cattermole
Posted in reply to Lance Bachmeier
|
On 01/03/2024 12:30 PM, Lance Bachmeier wrote:
> On Thursday, 29 February 2024 at 21:52:50 UTC, Richard (Rikki) Andrew Cattermole wrote:
>> On 01/03/2024 10:41 AM, Lance Bachmeier wrote:
>>> On Thursday, 29 February 2024 at 21:34:03 UTC, Richard (Rikki) Andrew Cattermole wrote:
>>>
>>>> There are two separate issues here, my ticket is to prevent invasive changes in a build script. What Carl's ticket is for, is to prevent an accidental infinite recursion.
>>>>
>>>> Both are needed :)
>>>
>>> What you're proposing would prevent infinite recursion, wouldn't it? Maybe I'm missing something. The source of the problem is grabbing the `CC` environment variable inside link.d.
>>
>> No.
>>
>> DMD_CC=dmd
>>
>> That'll still be recursive.
>
> You'd be telling the compiler you want an infinite recursion if you do that, so it would be the intended behavior. Your original proposal was
Exactly.
This is why its two separate tickets, two separate problems.
|