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

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7854 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

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

2017-10-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7854 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7854 Steven Schveighoffer changed: What|Removed |Added See Also||https://issues.dlang.org/sh

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

2012-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2

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

2012-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com Com

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

2012-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 Don changed: What|Removed |Added Keywords||spec Component|websites

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

2012-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #4 from Steven Schveighoffer 2012-04-12 14:20:09 PDT --- (In reply to comment #3) > > I agree it is probably a spec issue. Spec issues are normally treated with DMD > + spec keyword. It is part of the DMD download. >From descript

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

2012-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #5 from Steven Schveighoffer 2012-04-12 14:28:18 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

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

2012-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #6 from Jonathan M Davis 2012-04-12 23:07:41 PDT --- < I'm not exactly talking about binding or calling convention, I'm more talking < about types. To me, the two are orthogonal. Whereas I would argue that since you're declaring

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

2012-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 Maxim Fomin changed: What|Removed |Added CC||ma...@maxim-fomin.ru --- Comment #7 from

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

2012-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #8 from Maxim Fomin 2012-04-15 01:15:46 PDT --- When extern(C) appears it boils down to: 1) either it is used with purely C features: extern (C) int *array_func (int *array, size_t size); This is heavily used when interfacing D co

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

2012-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #9 from Steven Schveighoffer 2012-04-16 05:43:17 PDT --- (In reply to comment #6) > > I'm not exactly talking about binding or calling convention, I'm more > > talking > > about types. To me, the two are orthogonal. > > Whereas

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

2012-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #10 from Don 2012-04-17 02:03:47 PDT --- (In reply to comment #9) > (In reply to comment #6) > > > I'm not exactly talking about binding or calling convention, I'm more > > > talking > > > about types. To me, the two are orthogona

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

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #11 from Steven Schveighoffer 2012-04-18 05:21:34 PDT --- (In reply to comment #10) > (In reply to comment #9) > > No. An extern(C) function does not mean it's a C function. It just means > > it > > has C linkage. See here: htt

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

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #12 from Don 2012-04-18 10:59:56 PDT --- (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > No. An extern(C) function does not mean it's a C function. It just > > > means it > > > has C linka

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

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #13 from Steven Schveighoffer 2012-04-18 11:23:14 PDT --- (In reply to comment #12) > > But C doesn't HAVE a calling convention for non-C types! > > extern(C) void foo( void delegate() dg) > DOES NOT MAKE SENSE. It's not C, it's

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

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #14 from Don 2012-04-18 21:29:37 PDT --- (In reply to comment #13) > (In reply to comment #12) > > > > But C doesn't HAVE a calling convention for non-C types! > > > > extern(C) void foo( void delegate() dg) > > DOES NOT MAKE SENS