Tsoding streamed about D

Meta jared771 at gmail.com
Wed Mar 19 15:36:56 UTC 2025


On Wednesday, 19 March 2025 at 11:32:01 UTC, Lance Bachmeier 
wrote:
> On Wednesday, 19 March 2025 at 07:54:43 UTC, Meta wrote:
>
>> To Walter: whatever technical reasons you might have for not 
>> accepting .h files, I recommend you watch the video for 10 
>> minutes or so, starting at this timestamp:
>
> You can't blame Walter for this one. He opened the bug report 
> to enable it! It was others that killed it: 
> https://github.com/dlang/dmd/issues/20184

Looking at https://github.com/dlang/dmd/pull/14864, it seems that 
the changes to load .h files broke gdc, because it has a lot of 
auto-generated headers that - with Walter's change - were getting 
preferred over .d files if they were found first when doing 
`import x`, which x being a name that matched the name of the 
header file. Thus his change got reverted (rightly so, IMO; a D 
compiler that prefers to import .h files over .d files in certain 
circumstances is just weird).

Then Iain submitted another PR to reapply Walter's original 
changes, but it was slightly different and did something that 
Walter didn't like, so he reverted it.

After a bunch of arguing and different proposals rejected, it 
looks like things came to an impasse and so the issue was just 
left unadressed.

Plenty of blame to go around.


More information about the Digitalmars-d mailing list