Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread bachmeier via Digitalmars-d-learn
On Friday, 3 August 2018 at 17:09:37 UTC, Adam D. Ruppe wrote: On Friday, 3 August 2018 at 16:51:37 UTC, bachmeier wrote: I'm running Ubuntu 16.04. OK, I see it now, I had another .di file on my system than the stock one. Pushed a new version to git, it needs to also import a second

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 3 August 2018 at 16:51:37 UTC, bachmeier wrote: I'm running Ubuntu 16.04. OK, I see it now, I had another .di file on my system than the stock one. Pushed a new version to git, it needs to also import a second module import core.sys.posix.netinet.in_;

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread bachmeier via Digitalmars-d-learn
On Friday, 3 August 2018 at 16:47:42 UTC, Adam D. Ruppe wrote: On Friday, 3 August 2018 at 16:41:09 UTC, bachmeier wrote: 2.081.1 huh, it works for me... you on Linux or some other system? The embedded_httpd_processes version is Linux specific, on other OSes it uses threads... I'm running

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 3 August 2018 at 16:41:09 UTC, bachmeier wrote: 2.081.1 huh, it works for me... you on Linux or some other system? The embedded_httpd_processes version is Linux specific, on other OSes it uses threads...

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread bachmeier via Digitalmars-d-learn
On Friday, 3 August 2018 at 16:19:15 UTC, Adam D. Ruppe wrote: On Friday, 3 August 2018 at 16:13:06 UTC, bachmeier wrote: Swapping the comment and changing to master both fix the original error, but then I get ugh, what dmd version you on? 2.081.1 I find it hard to not have all my

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 3 August 2018 at 16:13:06 UTC, bachmeier wrote: Swapping the comment and changing to master both fix the original error, but then I get ugh, what dmd version you on?

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread bachmeier via Digitalmars-d-learn
On Friday, 3 August 2018 at 15:42:53 UTC, Adam D. Ruppe wrote: On Friday, 3 August 2018 at 15:33:57 UTC, bachmeier wrote: Any suggestions? The line right next to it, commented, is the solution. Try grabbing the new one from git master, or swap the comment yourself. Older dmd versions used

Re: module `socket` is in file 'std/c/linux/socket.d' which cannot be read

2018-08-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 3 August 2018 at 15:33:57 UTC, bachmeier wrote: Any suggestions? The line right next to it, commented, is the solution. Try grabbing the new one from git master, or swap the comment yourself. Older dmd versions used std.c.linux.socket, newer ones use core.sys.posix.socket. I