digitalmars.D.bugs - [Issue 731] New: Positive and negative NaN in template arguments causes link conflict
- d-bugmail puremagic.com (27/27) Dec 23 2006 http://d.puremagic.com/issues/show_bug.cgi?id=731
- Thomas Kuehne (19/32) Dec 26 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (9/9) Jan 03 2007 http://d.puremagic.com/issues/show_bug.cgi?id=731
http://d.puremagic.com/issues/show_bug.cgi?id=731 Summary: Positive and negative NaN in template arguments causes link conflict Product: D Version: 0.177 Platform: All OS/Version: All Status: NEW Keywords: link-failure Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dvdfrdmn users.sf.net ---code---- template T(double v) { double T = v; } double g; void main() { g = T!(double.nan) + T!(-double.nan); } -------- Linking results in duplicate symbol errors. --
Dec 23 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-12-23:http://d.puremagic.com/issues/show_bug.cgi?id=731---code---- template T(double v) { double T = v; } double g; void main() { g = T!(double.nan) + T!(-double.nan); } -------- Linking results in duplicate symbol errors.Added to DStress as http://dstress.kuehne.cn/run/t/template_51_A.d http://dstress.kuehne.cn/run/t/template_51_B.d http://dstress.kuehne.cn/run/t/template_51_C.d http://dstress.kuehne.cn/run/t/template_51_D.d http://dstress.kuehne.cn/run/t/template_51_E.d http://dstress.kuehne.cn/run/t/template_51_F.d http://dstress.kuehne.cn/run/t/template_51_G.d http://dstress.kuehne.cn/run/t/template_51_H.d http://dstress.kuehne.cn/run/t/template_51_I.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFkQH4LK5blCcjpWoRAtx8AJ9neLkasLDkDir6Cff/kE0SCxihWgCfZeHr L/7BmZkvK+di8frRG6Y6Cas= =aZL0 -----END PGP SIGNATURE-----
Dec 26 2006
http://d.puremagic.com/issues/show_bug.cgi?id=731 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 1.00 --
Jan 03 2007