DMD 0.177 release

Walter Bright newshound at digitalmars.com
Sat Dec 9 11:03:03 PST 2006


David L. Davis wrote:
> Walter in dmd v0.176 you improved name mangling, but I've found one very 
> confusing change...is it your intension to reuse the "b" which used to mean 
> "bit," to now mean a "bool" instead of "x?"

That's what people asked for.

> For example, one function "real vdb(real, real, real, real, real, real, bool 
> = false)" used in my financial D dll,
> before dmd v0.148 was released when the "bool" data type was added 
> (replacing the "bit" data type) the function's mangled name was 
> "D13financial_dll3vdbFeeeeeebZe". And with dmd v0.148 and later, the "bit" 
> data type become an alias to bool and all the "b" (for "bit") were replaced 
> with "x" (for "bool"), thus the funtion's mangled name changed to become 
> "D13financial_dll3vdbFeeeeeexZe". But now it looks like "x" has been 
> replaced by "b," is this a mistake on your part, or have you decided to use 
> a "b" as meaning a "bool" (discarding "x")?

That's correct.

> So currently the "vdb()" funtion under dmd v0.177 has returned to the old 
> mangled name "D13financial_dll3vdbFeeeeeebZe," as if a "bool" has become a 
> "bit" again.

Yes. There's no going back to bit.

> Thanks again for all the great work you've been putting into D year after 
> year!

You're most welcome.



More information about the Digitalmars-d-announce mailing list