Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Iain Buclaw via D.gnu
On Tue, 6 Aug 2019 at 19:15, Stefanos Baziotis via D.gnu wrote: > > On Tuesday, 6 August 2019 at 16:38:56 UTC, Johannes Pfau wrote: > > > > gdc includes everything in /usr/include/d automatically. The > > assumption is that distributions will only install global D > > files there which are compile

Re: Hello world in AAarch64 Debian Buster

2019-08-06 Thread Iain Buclaw via D.gnu
On Wed, 7 Aug 2019 at 00:15, Cecil Ward via D.gnu wrote: > > On Tuesday, 6 August 2019 at 16:35:21 UTC, Johannes Pfau wrote: > > Am Tue, 06 Aug 2019 05:13:11 + schrieb Cecil Ward: > > > >> I have a raspberry pi 3B+ running raspbian stretch 32-bit with > >> a containerised guest o/s inside it u

Re: Hello world in AAarch64 Debian Buster

2019-08-06 Thread Cecil Ward via D.gnu
On Tuesday, 6 August 2019 at 16:35:21 UTC, Johannes Pfau wrote: Am Tue, 06 Aug 2019 05:13:11 + schrieb Cecil Ward: I have a raspberry pi 3B+ running raspbian stretch 32-bit with a containerised guest o/s inside it using systemd-nspawn, the guest o/s being AAarch64 Debian Buster. Inside A

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Stefanos Baziotis via D.gnu
On Tuesday, 6 August 2019 at 16:38:56 UTC, Johannes Pfau wrote: gdc includes everything in /usr/include/d automatically. The assumption is that distributions will only install global D files there which are compiler-independent, just like in /usr/include. Unfortunately dmd and/or ldc still

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Johannes Pfau via D.gnu
Am Tue, 06 Aug 2019 12:22:56 + schrieb Stefanos Baziotis: > On Tuesday, 6 August 2019 at 12:02:05 UTC, Boris Carvajal wrote: >> At least gdc from gcc9 doesn't support static foreach, probably it's >> reading imports from other d compiler install. > > Yes it seems so. I installed LDC from sour

Re: Hello world in AAarch64 Debian Buster

2019-08-06 Thread Johannes Pfau via D.gnu
Am Tue, 06 Aug 2019 05:13:11 + schrieb Cecil Ward: > I have a raspberry pi 3B+ running raspbian stretch 32-bit with a > containerised guest o/s inside it using systemd-nspawn, the guest o/s > being AAarch64 Debian Buster. > > Inside AAarch64 Debian Buster, I run the following from the shell a

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Stefanos Baziotis via D.gnu
On Tuesday, 6 August 2019 at 12:02:05 UTC, Boris Carvajal wrote: At least gdc from gcc9 doesn't support static foreach, probably it's reading imports from other d compiler install. Yes it seems so. I installed LDC from source recently, maybe that made the conflict. I don't know how to fix it b

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Boris Carvajal via D.gnu
On Tuesday, 6 August 2019 at 11:45:50 UTC, Stefanos Baziotis wrote: Hello everyone, I just installed GDC with sudo apt-get install gdc and I can't compile a simple hello world program. I get e.g. static foreach errors: /usr/local/include/d/core/internal/hash.d:333:16: error: basic type expe

Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-06 Thread Stefanos Baziotis via D.gnu
Hello everyone, I just installed GDC with sudo apt-get install gdc and I can't compile a simple hello world program. I get e.g. static foreach errors: /usr/local/include/d/core/internal/hash.d:333:16: error: basic type expected, not foreach static foreach (i; 0 .. T.sizeof / size_t

Re: why gdc9.1 isn't available from gdcproject.org?

2019-08-06 Thread Guillaume Piolat via D.gnu
On Wednesday, 29 May 2019 at 20:01:54 UTC, Iain Buclaw wrote: What should travis-ci users do then? Debian/Ubuntu tends to be on top of ensuring latest version of gcc is available on the current release. The semaphoreCI testers use this repo, which covers older releases (though TravisCI run