Re: extern(C++) multiple inheritence

2016-01-27 Thread Manu via Digitalmars-d
On 28 January 2016 at 09:56, Walter Bright via Digitalmars-d wrote: > On 1/27/2016 2:50 AM, Manu via Digitalmars-d wrote: >> >> On 26 January 2016 at 15:20, Manu wrote: >>> >>> On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d >>>

Re: extern(C++) multiple inheritence

2016-01-27 Thread Walter Bright via Digitalmars-d
On 1/27/2016 4:45 PM, Manu via Digitalmars-d wrote: I think the problem is the 'final'. Try removing it as a workaround. Okay, I can try that quickly tonight. 99% of functions are final, and about 80% of virtual functions are final too. I understand, and I'll see if I can figure out a proper

Re: extern(C++) multiple inheritence

2016-01-27 Thread Walter Bright via Digitalmars-d
On 1/27/2016 3:56 PM, Walter Bright wrote: I can't do anything with this, as the code submitted in the bug report is incomplete. I think the problem is the 'final'. Try removing it as a workaround.

Re: extern(C++) multiple inheritence

2016-01-27 Thread Manu via Digitalmars-d
On 28 January 2016 at 10:27, Walter Bright via Digitalmars-d wrote: > On 1/27/2016 3:56 PM, Walter Bright wrote: >> >> I can't do anything with this, as the code submitted in the bug report is >> incomplete. > > > I think the problem is the 'final'. Try removing it as

Re: extern(C++) multiple inheritence

2016-01-27 Thread Walter Bright via Digitalmars-d
On 1/27/2016 2:50 AM, Manu via Digitalmars-d wrote: On 26 January 2016 at 15:20, Manu wrote: On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d wrote: On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: Next blocker:

Re: extern(C++) multiple inheritence

2016-01-27 Thread Walter Bright via Digitalmars-d
On 1/27/2016 4:43 PM, Manu via Digitalmars-d wrote: I hoped the winkey face would imply that this was a joke... Although the joke's on me; the point is, it takes me a really long time to trace through and try and understand what's going on. Finding my way to this image is not a short process. It

Re: extern(C++) multiple inheritence

2016-01-27 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:20, Manu wrote: > On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d > wrote: >> On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: >>> >>> On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d >>>

Re: extern(C++) multiple inheritence

2016-01-27 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:20, Manu wrote: > On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d > wrote: >> On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: >>> >>> On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d >>>

Re: extern(C++) multiple inheritence

2016-01-25 Thread Walter Bright via Digitalmars-d
On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d wrote: On 1/22/2016 5:46 PM, Manu via Digitalmars-d wrote: I brought a work laptop home this weekend in anticipation ;) Here ya go:

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:20, Manu wrote: > On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d > wrote: >> On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: >>> >>> On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d >>>

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d wrote: > On 1/25/2016 9:02 PM, Manu via Digitalmars-d wrote: >> >> On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d >> wrote: >>> >>> On 1/22/2016 5:46 PM, Manu via

Re: extern(C++) multiple inheritence

2016-01-25 Thread Daniel Murphy via Digitalmars-d
On 26/01/2016 5:29 PM, Manu via Digitalmars-d wrote: I tried to build DMD myself, doesn't build with vs2015: https://issues.dlang.org/show_bug.cgi?id=15611 *sigh* .. everything's always so hard! It's exhausting. Get with the times, vs2015 is so last year.

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 26 January 2016 at 16:33, Daniel Murphy via Digitalmars-d wrote: > On 26/01/2016 5:29 PM, Manu via Digitalmars-d wrote: >> >> >> I tried to build DMD myself, doesn't build with vs2015: >> https://issues.dlang.org/show_bug.cgi?id=15611 >> >> *sigh* .. everything's

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d wrote: > On 1/22/2016 5:46 PM, Manu via Digitalmars-d wrote: >> >> I brought a work laptop home this weekend in anticipation ;) > > > Here ya go: > > https://github.com/D-Programming-Language/dmd/pull/5364

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:20, Manu wrote: > On 26 January 2016 at 15:11, Walter Bright via Digitalmars-d >> >> The PR 5364 does this. (And only Microsoft Win64 has this effect.) > > Oh okay. I thought that PR was about correctly locating the vtable and > function offsets. I'll

Re: extern(C++) multiple inheritence

2016-01-25 Thread Manu via Digitalmars-d
On 26 January 2016 at 15:02, Manu wrote: > On 24 January 2016 at 20:40, Walter Bright via Digitalmars-d > wrote: >> On 1/22/2016 5:46 PM, Manu via Digitalmars-d wrote: >>> >>> I brought a work laptop home this weekend in anticipation ;) >> >> >>

Re: extern(C++) multiple inheritence

2016-01-24 Thread Walter Bright via Digitalmars-d
On 1/22/2016 5:46 PM, Manu via Digitalmars-d wrote: I brought a work laptop home this weekend in anticipation ;) Here ya go: https://github.com/D-Programming-Language/dmd/pull/5364 Be wary of: https://issues.dlang.org/show_bug.cgi?id=15589 and use the workaround as necessary. This is

Re: extern(C++) multiple inheritence

2016-01-22 Thread Walter Bright via Digitalmars-d
On 1/19/2016 6:02 AM, Manu via Digitalmars-d wrote: On 19 January 2016 at 22:36, Andrei Alexandrescu via Digitalmars-d wrote: Is there an open issue? -- Andrei There is: https://issues.dlang.org/show_bug.cgi?id=15579

Re: extern(C++) multiple inheritence

2016-01-22 Thread Manu via Digitalmars-d
On 23 January 2016 at 06:25, Walter Bright via Digitalmars-d wrote: > On 1/19/2016 6:02 AM, Manu via Digitalmars-d wrote: >> >> On 19 January 2016 at 22:36, Andrei Alexandrescu via Digitalmars-d >> wrote: >>> >>> >>> Is there an open

Re: extern(C++) multiple inheritence

2016-01-21 Thread IgorStepanov via Digitalmars-d
On Wednesday, 20 January 2016 at 00:45:34 UTC, Walter Bright wrote: On 1/19/2016 1:59 PM, Daniel Murphy wrote: On 19/01/2016 8:04 PM, Walter Bright wrote: On 1/19/2016 12:34 AM, Daniel Murphy wrote: Yeah, it never has. No attempt has ever been made to make it work. Actually, as I recall it

Re: extern(C++) multiple inheritence

2016-01-19 Thread Daniel Murphy via Digitalmars-d
On 19/01/2016 4:10 PM, Manu via Digitalmars-d wrote: I'm repeating this here from the depths of my prior whinge thread, since this is kind of a new topic. D's multiple inheritance solution is single-inheritance + interfaces. Rightly so, it's a great solution, and this matches what all the C++

Re: extern(C++) multiple inheritence

2016-01-19 Thread Walter Bright via Digitalmars-d
On 1/19/2016 12:34 AM, Daniel Murphy wrote: Yeah, it never has. No attempt has ever been made to make it work. Actually, as I recall it was made to match what DMC++ generates for Win32.

Re: extern(C++) multiple inheritence

2016-01-19 Thread Daniel Murphy via Digitalmars-d
On 19/01/2016 8:04 PM, Walter Bright wrote: On 1/19/2016 12:34 AM, Daniel Murphy wrote: Yeah, it never has. No attempt has ever been made to make it work. Actually, as I recall it was made to match what DMC++ generates for Win32. Wasn't that from before we had extern(C++) classes? I did

Re: extern(C++) multiple inheritence

2016-01-19 Thread deadalnix via Digitalmars-d
On Tuesday, 19 January 2016 at 15:25:53 UTC, Andrei Alexandrescu wrote: On 01/19/2016 09:02 AM, Manu via Digitalmars-d wrote: On 19 January 2016 at 22:36, Andrei Alexandrescu via Digitalmars-d wrote: Is there an open issue? -- Andrei There is:

Re: extern(C++) multiple inheritence

2016-01-19 Thread Walter Bright via Digitalmars-d
On 1/19/2016 1:59 PM, Daniel Murphy wrote: On 19/01/2016 8:04 PM, Walter Bright wrote: On 1/19/2016 12:34 AM, Daniel Murphy wrote: Yeah, it never has. No attempt has ever been made to make it work. Actually, as I recall it was made to match what DMC++ generates for Win32. Wasn't that

Re: extern(C++) multiple inheritence

2016-01-19 Thread Andrei Alexandrescu via Digitalmars-d
On 01/19/2016 03:34 AM, Daniel Murphy wrote: On 19/01/2016 4:10 PM, Manu via Digitalmars-d wrote: I'm repeating this here from the depths of my prior whinge thread, since this is kind of a new topic. D's multiple inheritance solution is single-inheritance + interfaces. Rightly so, it's a great

Re: extern(C++) multiple inheritence

2016-01-19 Thread Manu via Digitalmars-d
On 19 January 2016 at 22:36, Andrei Alexandrescu via Digitalmars-d wrote: > > Is there an open issue? -- Andrei There is: https://issues.dlang.org/show_bug.cgi?id=15579

Re: extern(C++) multiple inheritence

2016-01-19 Thread Andrei Alexandrescu via Digitalmars-d
On 01/19/2016 09:02 AM, Manu via Digitalmars-d wrote: On 19 January 2016 at 22:36, Andrei Alexandrescu via Digitalmars-d wrote: Is there an open issue? -- Andrei There is: https://issues.dlang.org/show_bug.cgi?id=15579 Thanks, awesome. I've noticed this a

Re: extern(C++) multiple inheritence

2016-01-18 Thread Manu via Digitalmars-d
Building DMD-Win64 against MSC2015-Win64.

extern(C++) multiple inheritence

2016-01-18 Thread Manu via Digitalmars-d
I'm repeating this here from the depths of my prior whinge thread, since this is kind of a new topic. D's multiple inheritance solution is single-inheritance + interfaces. Rightly so, it's a great solution, and this matches what all the C++ programmers I've ever worked with do anyway. Trouble is,