Re: gdc ice

2023-08-09 Thread Adam D Ruppe via D.gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110959

Re: gdc ice

2023-08-09 Thread Adam D Ruppe via D.gnu
On Wednesday, 9 August 2023 at 12:44:16 UTC, Iain Buclaw wrote: Can you raise a bug report against gcc.gnu.org/bugzilla? yeah i just got the email approving the account a minute ago. didn't take as long as i thought it would lol

gdc ice

2023-08-09 Thread Adam D Ruppe via D.gnu
$ gdc --version gdc (GCC) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ gdc gdcbug.d gdcbug.d: In function ‘D main’: gdcbug.d:40

Re: Looking to make a GDC-12 mingw64 package

2022-05-21 Thread Adam D Ruppe via D.gnu
On Saturday, 21 May 2022 at 21:18:15 UTC, Chris Piker wrote: 1. Anyone has built gdc-11 in the mingw64 environment since it seems a few patches are required? No patches are required, it is all upstreamed if you use the right settings. See my comment here: https://github.com/brechtsanders/

Re: gdc --version doesn't indicate which D front-end version it's compatible with

2022-01-28 Thread Adam D Ruppe via D.gnu
On Friday, 28 January 2022 at 17:42:25 UTC, singingbush wrote: It would be far more helpful if running `gdc --version` gave some indication of the version of D it's aligned to (which was 2.076 last time I checked). It is more complicated than that because gdc has a bunch of backported things

Re: Are there any GDC builds available for Windows?

2021-04-07 Thread Adam D. Ruppe via D.gnu
On Thursday, 8 April 2021 at 02:05:56 UTC, Preetpal wrote: gdc.exe: fatal error: cannot execute 'd21': CreateProcess: No such file or directory compilation terminated. The PATH needs to include the normal mingw64 bin path as well as the path for gdc. Though I haven't tried the download here

Re: Remove elements from char[] throws error

2021-03-01 Thread Adam D. Ruppe via D.gnu
On Monday, 1 March 2021 at 17:05:18 UTC, Mark Lagodych wrote: DMD compiles this fine. But GDC throws the following error: gdc bundles an older version of the std library, so that particular overload was probably added more recently. You could possibly `cast(ubyte[]) a` in there to select a

Re: Appender example doesn't work with GDC. GDC bug?

2019-12-28 Thread Adam D. Ruppe via D.gnu
On Saturday, 28 December 2019 at 03:08:48 UTC, BoraxMan wrote: For the line "Writeln(w[]);" GDC reports "error: no [] operator overload for type Appender!string". I think that is just a broken example. Pretty sure it should be `w.data` instead of `w[]`.