digitalmars.D.bugs - [Issue 957] New: linkage attributes for function level declarations are ignored
- d-bugmail puremagic.com (28/28) Feb 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=957
- d-bugmail puremagic.com (10/10) Mar 29 2007 http://d.puremagic.com/issues/show_bug.cgi?id=957
- d-bugmail puremagic.com (9/9) Apr 23 2007 http://d.puremagic.com/issues/show_bug.cgi?id=957
http://d.puremagic.com/issues/show_bug.cgi?id=957 Summary: linkage attributes for function level declarations are ignored Product: D Version: 1.005 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: thomas-dloop kuehne.cn # extern(Pascal) void foo(){ # } # # extern(Pascal) void function() f; # # void main(){ # extern(Pascal) void function() g; # # f = &foo; // success # g = &foo; // fails # } # Error: cannot implicitly convert expression (& foo) of type void(Pascal *)() to void(*)() --
Feb 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=957 ------- Comment #1 from thomas-dloop kuehne.cn 2007-03-29 14:30 ------- Added to DStress as http://dstress.kuehne.cn/run/e/extern_10_A.d http://dstress.kuehne.cn/run/e/extern_10_B.d http://dstress.kuehne.cn/run/e/extern_10_C.d http://dstress.kuehne.cn/run/e/extern_10_D.d http://dstress.kuehne.cn/run/e/extern_10_E.d http://dstress.kuehne.cn/run/e/extern_10_F.d --
Mar 29 2007
http://d.puremagic.com/issues/show_bug.cgi?id=957 thomas-dloop kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from thomas-dloop kuehne.cn 2007-04-23 12:54 ------- *** This bug has been marked as a duplicate of 1134 *** --
Apr 23 2007