To avoid some linking errors

Jacob Carlborg doob at me.com
Mon Oct 29 12:56:51 PDT 2012


On 2012-10-29 19:19, Andrei Alexandrescu wrote:

> I agree (and was about to post something very close to this). I've heard
> many times about this particular baffling, and it's one of those cases
> in which clearly people who are otherwise competent have quite a bit of
> difficulty. So one reasonable resolution is "well that's how people are,
> and that you think differently doesn't solve the matter one bit, so
> let's see what steps to take on improving it".
>
>  From what I can tell here's how to solve linker error issues:
>
> 1. Automatic demangling of the symbols involved must be in place.
>
> 2. For undefined symbols, there must be reference at source file and
> line level of where they are referred - /all/ places!
>
> 3. For multiply defined symbols, there must be reference at source file
> and line level for each definition.
>
> I understand there are technical difficulties in implementing the above,
> but that doesn't justify being baffled.
>
> Being baffled is not an option.

Well said.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list