DMD 0.177 release
David L. Davis
SpottedTiger at yahoo.com
Tue Dec 12 20:24:09 PST 2006
Don thanks for clarifying the reason, I didn't know about the function
pointers still using 'b' after bool replaced bit. It all now makes a lot
more sense as to the why change happened the way it did.
David L.
-------------------------------------------------------------------
"Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
-------------------------------------------------------------------
MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
"Don Clugston" <dac at nospam.com.au> wrote in message
news:elho1o$t1d$1 at digitaldaemon.com...
> 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