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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Igor Stepanov <[email protected]> 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: -------