October 15, 2013 [Issue 11273] New: inequable template alias parameters can be mangled identically | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11273 Summary: inequable template alias parameters can be mangled identically Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: wazar.leollone@yahoo.com --- Comment #0 from Igor Stepanov <wazar.leollone@yahoo.com> 2013-10-15 07:14:03 PDT --- For example: void test(alias a)() { } void main() { assert(test!(real.infinity).mangleof == test!(real.max).mangleof); } This fact means that different symbols (test!(real.infinity) and test!(real.max)) will be written into object file with the same name. It's cause ld warning in linux and VisualStudio linker error (see big example in attachment). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 15, 2013 [Issue 11273] inequable template alias parameters can be mangled identically | ||||
---|---|---|---|---|
| ||||
Posted in reply to Igor Stepanov | http://d.puremagic.com/issues/show_bug.cgi?id=11273 --- Comment #1 from Igor Stepanov <wazar.leollone@yahoo.com> 2013-10-15 07:15:42 PDT --- Created an attachment (id=1265) issue example -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation