Symbol undefined

Martijn Pot martijnpot52 at gmail.com
Thu Jan 30 13:40:42 PST 2014


On Thursday, 30 January 2014 at 21:33:05 UTC, Andrej Mitrovic 
wrote:
> On Thursday, 30 January 2014 at 21:28:08 UTC, Martijn Pot wrote:
>> Error 42: Symbol Undefined 
>> _D1a14Transmogrifier12transmogrifyMFZv (void 
>> a.Transmogrifier.transmogrify())
>
> Typically that means the function isn't implemented, e.g. this:
>
> void transmogrify();
>
> instead of this:
>
> void transmogrify() { }
>
> The NVI examples in TDPL don't really work, as private 
> functions in D are currently not virtual.

Indeed, making them public solved the problem. Is there more 
stuff in the book that isn't working?

>
> You could try pasting example code of what you're trying to 
> build to show you exactly what goes wrong.



More information about the Digitalmars-d-learn mailing list