http://d.puremagic.com/issues/show_bug.cgi?id=5148
Lukasz Wrzosek <luk.wrzo...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #806 is|0 |1 obsolete| | --- Comment #6 from Lukasz Wrzosek <luk.wrzo...@gmail.com> 2010-11-12 09:23:30 PST --- Created an attachment (id=807) Fix for bug 5148 and some other fixes. This patch fixes also some other issues that I think weren't reported up to now. In gcc c++ functions with const arguments passed by value are mangled like not const: void Test(const int, const int) -> _Z4Testii void Test(const char, const char) -> _Z4Testcc struct MyStrutType { }; void Test(const MyStructType, const MyStructType) -> _Z4Test12MyStructTypeS_ enum MyEnumType { }; void Test(const MyEnumType, const MyEnumType) -> _Z4Test10MyEnumTypeS_ Without this patch dmd generates const versions. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------