D - CONFUSING ERR MSG: constructor this (char[] msg) does not match argument
- Russ Lewis (3/3) Jul 26 2003 DMD 0.68, RH Linux 9
- Russ Lewis (15/19) Jul 27 2003 I traced down the error to this line of code:
DMD 0.68, RH Linux 9 What does this error message mean? I can't even figure out which line caused it, so it's really hard to debug my code. :(
Jul 26 2003
Russ Lewis wrote:DMD 0.68, RH Linux 9 What does this error message mean? I can't even figure out which line caused it, so it's really hard to debug my code. :(I traced down the error to this line of code: class StackAssertError : public Error {}; which doesn't work because Error has no default constructor. So the definition changed to class StackAssertError : public Error { public: this() { super("StackAssertError"); } }; I would still hope that the error message gets clearer sometime... :) Russ
Jul 27 2003