Glad to announce the first beta for the 2.099.0 release, ♥ to the 99 contributors.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.099.0.html
As usual please report any bugs at
https://issues.dlang.org
-Martin
Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 15, 2022 Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Glad to announce the first beta for the 2.099.0 release, ♥ to the 99 contributors. http://dlang.org/download.html#dmd_beta As usual please report any bugs at -Martin |
February 15, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote: >Glad to announce the first beta for the 2.099.0 release, ♥ to the 99 contributors. http://dlang.org/download.html#dmd_beta As usual please report any bugs at -Martin Issue 3 is wrongly referenced. I will not create a bugzilla entry because I think this is not fixable |
February 15, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Tuesday, 15 February 2022 at 13:27:18 UTC, Basile B. wrote: >On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote: >Glad to announce the first beta for the 2.099.0 release, ♥ to the 99 contributors. http://dlang.org/download.html#dmd_beta As usual please report any bugs at -Martin Issue 3 is wrongly referenced. I will not create a bugzilla entry because I think this is not fixable You are not allowed to download file. It says invalid html ...... |
February 15, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Tuesday, 15 February 2022 at 13:27:18 UTC, Basile B. wrote: >On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote: >Glad to announce the first beta for the 2.099.0 release, ♥ to the 99 contributors. http://dlang.org/download.html#dmd_beta As usual please report any bugs at -Martin Issue 3 is wrongly referenced. I will not create a bugzilla entry because I think this is not fixable Maybe an issue could be raised against the dlang-bot to request better handling of ambiguous commit messages? |
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
>
I was so hoping I could now begin using -betterC on Windows...
but no .. :-(
i.e. stdout, stdin, stderr ...still cannot link...
|
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to forkit | On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:
> On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
>>
>
> I was so hoping I could now begin using -betterC on Windows...
>
> but no .. :-(
>
> i.e. stdout, stdin, stderr ...still cannot link...
Can you not define them yourself in the meantime?
|
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to max haughton | On Wednesday, 16 February 2022 at 04:14:01 UTC, max haughton wrote:
> On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:
>> On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
>>>
>>
>> I was so hoping I could now begin using -betterC on Windows...
>>
>> but no .. :-(
>>
>> i.e. stdout, stdin, stderr ...still cannot link...
>
> Can you not define them yourself in the meantime?
err.. howdy doody dat?
|
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to forkit | On 16/02/2022 06:53, forkit wrote: > On Wednesday, 16 February 2022 at 04:14:01 UTC, max haughton wrote: >> On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote: >>> On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote: >>>> >>> >>> I was so hoping I could now begin using -betterC on Windows... >>> >>> but no .. :-( >>> >>> i.e. stdout, stdin, stderr ...still cannot link... >> >> Can you not define them yourself in the meantime? > > err.. howdy doody dat? > The PR was too late for the beta, but this is the basic change: https://github.com/dlang/druntime/pull/3740/files#diff-5cbe9748431681a766784b1bd997444d58d436a26a345b32397daae478f85c5dR907 Please note that this only supports the C runtimes for VS 2015 or later. If you are using the mingw import libraries, you'll have to switch to the corresponding version, too. Without a VS environment, -mscrtlib=vcruntime140 should do, but the tests had to add -Lvcruntime140.lib -Llegacy_stdio_definitions.lib -L/NODEFAULTLIB:msvcrt120.lib on the command line to do that. |
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On Wednesday, 16 February 2022 at 06:55:57 UTC, Rainer Schuetze wrote:
>
yep. working just fine now :-)
// --- compile with -betterC
import core.stdc.stdio;
extern(C):
FILE* __acrt_iob_func(int hnd);
FILE* stdin()() { return __acrt_iob_func(0); }
FILE* stdout()() { return __acrt_iob_func(1); }
FILE* stderr()() { return __acrt_iob_func(2); }
int main()
{
fprintf(stdout, "Enter a character: ");
int ch;
ch = getc(stdin);
if (ch == '\n')
{
fprintf(stderr, "You didn't enter a character.\n");
}
else
{
printf("You entered %c \n", ch);
}
return 0;
}
// ---
|
February 16, 2022 Re: Beta 2.099.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On 2/15/2022 10:55 PM, Rainer Schuetze wrote:
> The PR was too late for the beta, but this is the basic change: https://github.com/dlang/druntime/pull/3740/files#diff-5cbe9748431681a766784b1bd997444d58d436a26a345b32397daae478f85c5dR907
Sweet!
|