www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11802] New: Wrong vtbl order for extern(C++) classes with overloaded functions on win32

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11802

           Summary: Wrong vtbl order for extern(C++) classes with
                    overloaded functions on win32
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: wrong-code
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: yebblies gmail.com
        ReportedBy: yebblies gmail.com


--- Comment #0 from yebblies <yebblies gmail.com> 2013-12-23 03:43:20 EST ---
With MSVC/DMC, overloaded virtual functions within a class are grouped in the
vtbl, in reversed order.  We need to match that.

http://stackoverflow.com/questions/3243716/order-of-overloaded-methods-in-the-vtable-on-win32

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11802


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from yebblies <yebblies gmail.com> 2013-12-23 03:48:55 EST ---
https://github.com/D-Programming-Language/dmd/pull/3010

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11802



--- Comment #2 from github-bugzilla puremagic.com 2013-12-30 22:34:50 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0256f3373ec29adba1bce4899a9249deaa054d95
Fix Issue 11802 - Wrong vtbl order for extern(C++) classes with overloaded
functions on win32

https://github.com/D-Programming-Language/dmd/commit/19a00201613c549521b9503cc3d566ed92e91528
Merge pull request #3010 from yebblies/issue11802

[DDMD] Issue 11802 - Wrong vtbl order for extern(C++) classes with overloaded
functions on win32

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 30 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11802


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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