Re: Beta 2.099.0
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; } // ---
Re: Beta 2.099.0
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.
Re: Beta 2.099.0
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?
Re: DConf 2022 in London?
On 2/15/2022 4:22 AM, Mike Parker wrote: Personally, I'm super pumped about this. I hope to see a lot of you in London in August! I'm in!
Re: Beta 2.099.0
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?
Re: Beta 2.099.0
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...
Re: Beta 2.099.0
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 [referenced]: https://dlang.org/changelog/2.099.0.html#bugfix-list Maybe an issue could be raised against the [dlang-bot](https://github.com/dlang/dlang-bot) to request better handling of ambiguous commit messages?
Re: Beta 2.099.0
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 [referenced]: https://dlang.org/changelog/2.099.0.html#bugfix-list You are not allowed to download file. It says invalid html ..
Re: DConf 2022 in London?
On Tuesday, 15 February 2022 at 12:22:05 UTC, Mike Parker wrote: Yes! Thanks to Symmetry Investments, DConf 2022 is happening in London Aug 1-4. I'll have the web site up soon (waiting to make sure there's no issue with our logo), but I wanted to get the news out ASAP since I have permission now to announce it. [...] Nice!
Re: Beta 2.099.0
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 [referenced]: https://dlang.org/changelog/2.099.0.html#bugfix-list
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 http://dlang.org/changelog/2.099.0.html As usual please report any bugs at https://issues.dlang.org -Martin
Re: DConf 2022 in London?
On Tuesday, 15 February 2022 at 12:22:05 UTC, Mike Parker wrote: Personally, I'm super pumped about this. I hope to see a lot of you in London in August! I will definitely attend. See you there! :)
DConf 2022 in London?
Yes! Thanks to Symmetry Investments, DConf 2022 is happening in London Aug 1-4. I'll have the web site up soon (waiting to make sure there's no issue with our logo), but I wanted to get the news out ASAP since I have permission now to announce it. Once the site is up, you'll find the details for how to submit a talk. Even if you've never given a talk at a conference before, I encourage you to submit one. Like Ali said DConf Online 2020, anyone can do it. All you need is an idea and the motivation to put it together. And if you're selected, you'll be reimbursed by the D Language Foundation for your transportation and lodging costs (within reason). I'll have more information about the venue, registration fees, local hotels, the nightly meetup spot, and anything else you need to know as soon as it's finalized. Personally, I'm super pumped about this. I hope to see a lot of you in London in August!