'Undefined reference' linking errors

bearophile bearophileHUGS at lycos.com
Wed Apr 7 14:19:30 PDT 2010


Ali Çehreli:
>  > test.o:(.rodata+0x98): undefined reference to
>  > `_D5dregs3avg12avg_weighted6opCallMFKAS5dregs10reputation6ratingKAdKAdZv'
>  > test.o:(.rodata+0xf8): undefined reference to
> 
> I wonder how you missed the "opCall" in there! :p

Those mangled ids are ugly. It's much better to show programmers more readable names in error messages. This can even become a bug report.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list