DMD 0.177 release

Don Clugston dac at nospam.com.au
Sun Dec 10 11:43:50 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?"

> 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")?

Between 0.148 and 0.175, function pointers used 'b' for 'bool', but the 
functions themselves used 'x'. It was a bit inconsistent.



More information about the Digitalmars-d-announce mailing list