Re: module search paths

2022-04-16 Thread kdevel via Digitalmars-d-learn
On Saturday, 16 April 2022 at 13:45:17 UTC, kdevel wrote: [...] Will that be corrected in GCC 11.3 or not until GCC 12? GCC 12.

Re: module search paths

2022-04-16 Thread kdevel via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 09:41:45 UTC, Mathias LANG wrote: [...] JSONType used to be named `JSON_TYPE`, and this was changed in v2.082.0. I think GDC-11 is somewhere around v2.076.0 (with a lot of backport for bugs, but no feature / Phobos backport). Since v2.082.0 was released 2018-09-02

Re: module search paths

2021-08-04 Thread Brian Tiffin via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 05:01:59 UTC, Ali Çehreli wrote: On 8/3/21 9:51 PM, Brian Tiffin wrote: ... > Is there a go to quick and easy way of tracking down > module members? Searching for it at dlang.org usually works pretty well. Although, I hear that Adam's Phobos documentation site i

Re: module search paths

2021-08-04 Thread Brian Tiffin via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 09:41:45 UTC, Mathias LANG wrote: On Wednesday, 4 August 2021 at 04:51:48 UTC, Brian Tiffin wrote: With `import std.json` working for the other symbols like parseJSON? `gdc-11 (Ubuntu 11.1.0-1ubuntu1~18.04.1) 11.1.0` Have good. You are using GDC 11, which has

Re: module search paths

2021-08-04 Thread Mathias LANG via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 04:51:48 UTC, Brian Tiffin wrote: With `import std.json` working for the other symbols like parseJSON? `gdc-11 (Ubuntu 11.1.0-1ubuntu1~18.04.1) 11.1.0` Have good. You are using GDC 11, which has an older version of the frontend. GDC is pretty great for targetin

Re: module search paths

2021-08-04 Thread Brian Tiffin via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 05:01:59 UTC, Ali Çehreli wrote: On 8/3/21 9:51 PM, Brian Tiffin wrote: > I added an `import std.json;`. That did not include the > JSONType enum. It works for me: import std.json; int main() { return JSONType.null_; } > Is there a go to quick and easy way o

Re: module search paths

2021-08-03 Thread Ali Çehreli via Digitalmars-d-learn
On 8/3/21 9:51 PM, Brian Tiffin wrote: > I added an `import std.json;`. That did not include the > JSONType enum. It works for me: import std.json; int main() { return JSONType.null_; } > Is there a go to quick and easy way of tracking down > module members? Searching for it at dlang.org

module search paths

2021-08-03 Thread Brian Tiffin via Digitalmars-d-learn
Just tried the JSON sample from the home page. It's not an all in listing, so I added an `import std.json;`. That did not include the JSONType enum. A little more looking around, a more complete listing, added ``` import std.array; import std.conv; import std.range.primitives; import std.tr