A new debugger for Linux - would it work for D?
Thomas Kuehne
thomas-dloop at kuehne.cn
Thu Nov 23 08:14:30 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Frits van Bommel schrieb am 2006-11-23:
> Bruno Medeiros wrote:
>> Can we define functions that do not have D linkage, but have D name
>> mangling?
>
> Not as far as I know.
>
> > If so, does that even make sense? It was my understanding that
>> any function with linkage other than D is used for obj/lib/dll level
>> compatibility with other programs written in other languages (i.e., ABI
>> level compatibility). As such, these other languages don't understand D
>> name mangling but only C name mangling, so what's a non-D-linkage with
>> D-name-mangling for?
# extern(C) void outer(){
# void inner(){
# }
# }
current mangling:
> outer
> outer5innerFZv
Don's proposal:
> outer
> 0U5outer5innerFZv
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFZcg8LK5blCcjpWoRAu/hAJ9gADyqXbbt8xQXvZw+YD+hF0gbVQCgh8LT
TfV4kEQMllZ7m4WFtNgSQNc=
=gTTT
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-announce
mailing list