static foreach in gdc

Elronnd elronnd at elronnd.net
Sat Feb 8 21:25:00 UTC 2020


On Friday, 7 February 2020 at 11:51:36 UTC, Jean-Louis Leroy 
wrote:
> What's the situation with `static foreach` on gdc? When I 
> install it using install.sh from 
> https://dlang.org/install.html, I get 4.8.5, which does not 
> support `static foreach`. That is also the version that is 
> installed on travis-ci.org.

You can try compiling this version from source: 
https://github.com/moon-chilled/gdc-d2089

It is a WIP targeting gcc 10.  Didn't make it; I found it, and 
then it disappeared.  Once GCC 10 proper comes out, use that.


More information about the D.gnu mailing list