DMD compiler switch to set default extern() linkage?

Marco Leise Marco.Leise at gmx.de
Fri Apr 6 17:00:15 PDT 2012


Am Thu, 5 Apr 2012 12:15:28 +0100
schrieb Iain Buclaw <ibuclaw at ubuntu.com>:

> They were equally mortified when I mentioned 'naked' functions. :~)

I don't remember the response to be univocal. At least one guy tried to convince the others, that support for naked functions would benefit other platforms/languages as well.

As for the D calling convention, it needs an entry here: http://en.wikipedia.org/wiki/X86_calling_conventions :D
There are other callee-cleans-up conventions, too: Pascal, stdcall, fastcall

-- 
Marco



More information about the Digitalmars-d mailing list