Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 12, 2017 Fixing sample files | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17099 This is a bit embarrassing. It seems that the samples fail because they use std.stream, which has been removed. Anyone want to fix them to use stdio instead? |
April 12, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Wednesday, 12 April 2017 at 19:58:47 UTC, Walter Bright wrote:
> https://issues.dlang.org/show_bug.cgi?id=17099
>
> This is a bit embarrassing.
>
> It seems that the samples fail because they use std.stream, which has been removed. Anyone want to fix them to use stdio instead?
Since dmd is shipped with DUB one can just put some embedded SDL descriptions and put undead as dependency.
A bit off topic but all these examples are very old-fashioned imho. Everything could be replaced with more idiomatic D code, using phobos.
|
April 12, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On 4/12/2017 1:30 PM, Basile B. wrote: > Since dmd is shipped with DUB one can just put some embedded SDL descriptions > and put undead as dependency. Better to just fix them. > A bit off topic but all these examples are very old-fashioned imho. Everything > could be replaced with more idiomatic D code, using phobos. If you're willing to do it? |
April 13, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Thursday, 13 April 2017 at 01:13:23 UTC, Walter Bright wrote:
> On 4/12/2017 1:30 PM, Basile B. wrote:
>> Since dmd is shipped with DUB one can just put some embedded SDL descriptions
>> and put undead as dependency.
>
> Better to just fix them.
>
>> A bit off topic but all these examples are very old-fashioned imho. Everything
>> could be replaced with more idiomatic D code, using phobos.
>
> If you're willing to do it?
If you agree on the principle then let's rather make a call to contributions in another post ? I'm sure that many users will propose something. I'm volunteer to supervise the topic and eventually to make a common PR in DMD.
|
April 13, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Thursday, 13 April 2017 at 01:34:52 UTC, Basile B. wrote:
> On Thursday, 13 April 2017 at 01:13:23 UTC, Walter Bright wrote:
>> On 4/12/2017 1:30 PM, Basile B. wrote:
>>> Since dmd is shipped with DUB one can just put some embedded SDL descriptions
>>> and put undead as dependency.
>>
>> Better to just fix them.
Another option, remove the samples, as suggested on IRC.
|
April 13, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 2017-04-12 21:58, Walter Bright wrote: > https://issues.dlang.org/show_bug.cgi?id=17099 > > This is a bit embarrassing. > > It seems that the samples fail because they use std.stream, which has > been removed. Anyone want to fix them to use stdio instead? Seems like compiling the samples should be part of the regular CI builds. -- /Jacob Carlborg |
April 13, 2017 Re: Fixing sample files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On 04/12/2017 09:34 PM, Basile B. wrote:
> On Thursday, 13 April 2017 at 01:13:23 UTC, Walter Bright wrote:
>> On 4/12/2017 1:30 PM, Basile B. wrote:
>>> Since dmd is shipped with DUB one can just put some embedded SDL
>>> descriptions
>>> and put undead as dependency.
>>
>> Better to just fix them.
>>
>>> A bit off topic but all these examples are very old-fashioned imho.
>>> Everything
>>> could be replaced with more idiomatic D code, using phobos.
>>
>> If you're willing to do it?
>
> If you agree on the principle then let's rather make a call to
> contributions in another post ? I'm sure that many users will propose
> something. I'm volunteer to supervise the topic and eventually to make a
> common PR in DMD.
Walter has already submitted a couple of fixes. Best leadership is by example, so if you're up for it please go ahead and post PRs for the fixes. Thanks! -- Andrei
|
Copyright © 1999-2021 by the D Language Foundation