[Issue 4581] extern function pointers inside functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 26 15:23:40 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4581



--- Comment #4 from Simen Kjaeraas <simen.kjaras at gmail.com> 2010-10-26 15:22:51 PDT ---
(In reply to comment #3)
> You can't express intention with extern attribute, because it's ambiguous:
> whether it specifies an external function or internal function with specific
> calling convention. Currently there's no way to differentiate between these two
> cases.

But is there really a difference? Currently, extern( foo ) means 'use foo's
calling conventions and name mangling'. As long as the latter is also part of
the definition, I do not see such a difference.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list