Jump to page: 1 2
Thread overview
Beta 2.099.0
Feb 15, 2022
Martin Nowak
Feb 15, 2022
Basile B.
Feb 15, 2022
steven kladitis
Feb 15, 2022
Iain Buclaw
Feb 16, 2022
Basile B.
Feb 17, 2022
Iain Buclaw
Feb 16, 2022
forkit
Feb 16, 2022
max haughton
Feb 16, 2022
forkit
Feb 16, 2022
Rainer Schuetze
Feb 16, 2022
forkit
Feb 16, 2022
Walter Bright
Feb 16, 2022
max haughton
Feb 16, 2022
Walter Bright
Feb 17, 2022
9il
Feb 17, 2022
rikki cattermole
Feb 17, 2022
Nick Treleaven
Release Candidate [was: Re: Beta 2.099.0]
Mar 02, 2022
Martin Nowak
February 15, 2022

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

February 15, 2022

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
http://dlang.org/changelog/2.099.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin

Issue 3 is wrongly referenced. I will not create a bugzilla entry because I think this is not fixable

February 15, 2022

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
http://dlang.org/changelog/2.099.0.html

As usual please report any bugs at
https://issues.dlang.org

-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

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
http://dlang.org/changelog/2.099.0.html

As usual please report any bugs at
https://issues.dlang.org

-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
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
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
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

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
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
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!
« First   ‹ Prev
1 2