static foreach in gdc

Mathias Lang pro.mathias.lang at gmail.com
Fri Feb 7 14:47:40 UTC 2020


On Friday, 7 February 2020 at 11:51:36 UTC, Jean-Louis Leroy 
wrote:
> Hi,
>
> 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.

Iain is currently backporting static foreach for GCC10, I believe.
4.8.5 won't get you far, you should at least use GCC-9.2.0 which 
include the 2.076.0 frontend plus a lot of backports.


More information about the D.gnu mailing list