mangle

Norbert Nemec Norbert at Nemec-online.de
Fri Jul 2 10:36:01 PDT 2010


On 02/07/10 13:41, Steven Schveighoffer wrote:
> This isn't really the reason for "mangling". The issue is that the C
> linker requires symbols to be the same as source symbols. That is, made
> up only of A-Z,a-z,0-9 and _. I'd much rather see symbol names like this:
>
> foo(int,string)
>
> than
>
> fooIvS45whatever

Perhaps this limitation could be removed in the C linker? Why not allow 
arbitrary strings as symbols in a modern implementation? I could well 
imagine that this could be realized in some extension of the standard?


More information about the Digitalmars-d mailing list