Linking against a Win32-DLL

Jascha Wetzel firstname at mainia.de
Mon Jul 9 14:57:46 PDT 2007


Bill Baxter wrote:
> But using /IGNORECASE means you can no longer have any functions in your 
> app anywhere that are different only in case?
> 
> I guess it's not that huge a problem with name mangling.  If you have 
> CoolThing and coolthing they're not likely to both be functions... but 
> still.
> 
> Expecting extern(Pascal) to be all uppercase seems like a bug if that's 
> not really how extern(Pascal) libraries do things in practice.
> 
> --bb

DMD does it correctly. Given Pascal's case insensitivity in source it 
makes sense.

"Function name decoration consists of conversion to uppercase"
http://blogs.msdn.com/oldnewthing/archive/2004/01/02/47184.aspx



More information about the Digitalmars-d mailing list