Incomprehensible compiler errors

Paulo Pinto pjmlp at progtools.org
Mon Jul 30 10:30:02 PDT 2012


On Monday, 30 July 2012 at 17:12:11 UTC, Peter Alexander wrote:
> On Monday, 30 July 2012 at 16:38:54 UTC, Gor Gyolchanyan wrote:
>> For one, it would be mighty polite of the compiler to demangle 
>> the "_**
>> D8infinity8standard7runtime4IA**pp4IApp11__InterfaceZ", which 
>> happens to be
>> "infinity.standard.runtime.App.App.__Interface".
>
> The linker spits out those errors. It would be unreasonable to
> expect linkers to understand D's name mangling scheme.

This problem was already solved by Turbo Pascal in the 80's, by 
making use of smart linkers integrated with the compiler.

Many other languages follow similar module systems.


More information about the Digitalmars-d mailing list