[Issue 7854] Non-C attributes allowed on extern(C) function parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 14 22:28:15 PDT 2012


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


Maxim Fomin <maxim at maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim at maxim-fomin.ru


--- Comment #7 from Maxim Fomin <maxim at maxim-fomin.ru> 2012-04-14 22:29:04 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > extern(C) does not have any effect on parameters. 
> 
> Not so. It most definitely does! Doesn't make much difference on Linux, but on
> Windows they are quite different. Also variadic functions are defined in the
> spec to be different for extern(C) vs extern(D), on all platforms.
> 

And how does it affect? 
In most cases what I found about externs in D, C++, C they all are about
linkage.

-- 
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