digitalmars.D.bugs - [Issue 9093] New: Overloads in extern(C++) interfaces throw up COMDAT errors
- d-bugmail puremagic.com (34/34) Nov 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9093
- d-bugmail puremagic.com (12/12) Nov 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9093
- d-bugmail puremagic.com (9/9) Dec 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9093
- d-bugmail puremagic.com (10/10) Dec 09 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9093
http://d.puremagic.com/issues/show_bug.cgi?id=9093 Summary: Overloads in extern(C++) interfaces throw up COMDAT errors Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: gooberman gmail.com --- Comment #0 from Ethan Watson <gooberman gmail.com> 2012-11-28 08:58:22 PST --- Fairly simple description - create an interface that externs to C++ with a couple of overloads. Create a class that implements that interface. COMDAT has an error with defining multiple symbols as a result. Sample code: extern (C++) interface ICameraLens { float NearPlane(); float NearPlane(float p); } class NewCameraLens : ICameraLens { extern (C++) float NearPlane() { return 0; } extern (C++) float NearPlane(float p) { return 0; } } Compiling with the Win64 compiler. Issue originally was found when working with properties; however, the error occurs on any overloaded extern'd function. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9093 Rainer Schuetze <r.sagitario gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |r.sagitario gmx.de --- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2012-11-30 01:40:00 PST --- There's been no mangling at all so far. https://github.com/D-Programming-Language/dmd/pull/1338 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 30 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9093 --- Comment #2 from github-bugzilla puremagic.com 2012-12-01 22:28:56 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/23d3b452cd88cc5b9eb373014b8566d595aa2bf7 Merge pull request #1338 from rainers/win64_cpp_mangle fix issue 9093: C++ symbol mangling for Win64 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 01 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9093 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 09 2012