Re: How to get a function name (string) @ compile time

2018-12-08 Thread Andrew Pennebaker via Digitalmars-d-learn
On Monday, 3 November 2008 at 12:29:16 UTC, Simen Kjaeraas wrote: On Mon, 03 Nov 2008 12:33:05 +0100, Denis Koroskin <2kor...@gmail.com> wrote: On Mon, 03 Nov 2008 04:11:20 +0300, Daniel Ribeiro Maciel wrote: Denis Koroskin Wrote: On Mon, 03 Nov 2008 01:59:56 +0300, Daniel Ribeiro

dmd -unittest works poorly with executables

2018-12-08 Thread Andrew Pennebaker via Digitalmars-d-learn
I think it's lame to have to use magical code like `version(unittest) {} else` to guard our main functions, when we run unit tests. Could D go ahead and do the right thing, automatically shadowing our main functions when the unit tests are run?

Re: cant run unittests

2018-12-08 Thread Andrew Pennebaker via Digitalmars-d-learn
On Saturday, 16 July 2016 at 20:22:15 UTC, Seb wrote: On Thursday, 14 July 2016 at 10:13:38 UTC, dom wrote: On Thursday, 14 July 2016 at 00:33:50 UTC, ethgeh wrote: On Wednesday, 13 July 2016 at 19:41:53 UTC, dom wrote: how can i run my unittests for a dynamic library? some weird conflict is

Re: gcc 9 vs. dmd?

2018-11-29 Thread Andrew Pennebaker via Digitalmars-d-learn
On Friday, 30 November 2018 at 01:31:12 UTC, mawk wrote: On Friday, 30 November 2018 at 00:43:59 UTC, Andrew Pennebaker wrote: Given that gcc v9 should have built-in support for compiling D code, and that dmd requires gcc, will dmd continue to be supported? Or perhaps have its guts

gcc 9 vs. dmd?

2018-11-29 Thread Andrew Pennebaker via Digitalmars-d-learn
Given that gcc v9 should have built-in support for compiling D code, and that dmd requires gcc, will dmd continue to be supported? Or perhaps have its guts incorporated completely into gcc?