Re: Why does the importC example not compile?

2023-01-14 Thread Gavin Ray via Digitalmars-d-learn
On Friday, 13 January 2023 at 12:46:33 UTC, Dennis wrote: On Friday, 13 January 2023 at 12:33:28 UTC, kdevel wrote: What must be added or changed in order to test every example which is intended to produce an executable? Support for separate compilation / ImportC would need to be added to

Re: Why does the importC example not compile?

2023-01-13 Thread Dennis via Digitalmars-d-learn
On Friday, 13 January 2023 at 12:33:28 UTC, kdevel wrote: What must be added or changed in order to test every example which is intended to produce an executable? Support for separate compilation / ImportC would need to be added to dspec_tester:

Re: Why does the importC example not compile?

2023-01-13 Thread kdevel via Digitalmars-d-learn
On Friday, 13 January 2023 at 12:20:23 UTC, Dennis wrote: I don't think there's a way to test examples of separate compilation in the spec currently. What must be added or changed in order to test every example which is intended to produce an executable?

Re: Why does the importC example not compile?

2023-01-13 Thread Dennis via Digitalmars-d-learn
Thanks for reporting this. PR: https://github.com/dlang/dlang.org/pull/3489 On Friday, 13 January 2023 at 11:10:23 UTC, kdevel wrote: I would have expected that each and every piece of code in the documentation is automatically compiled with any new compiler release. Individual D snippets

Re: Why does the importC example not compile?

2023-01-13 Thread novice2 via Digitalmars-d-learn
try to rename function to distinguish from source module