Thread overview |
---|
December 21, 2008 [Issue 2530] New: "Previous definition different" error on using template class with inner struct | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2530 Summary: "Previous definition different" error on using template class with inner struct Product: D Version: 2.022 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: 2korden@gmail.com Here is a cut-down code sample that reproduces the error: // File A.d module A; import B; // File B.d module B; import A; class T(int i) { struct Inner { } } class B { T!(0) t; } void main() { } compilation options: # dmd A.d -c # dmd B.d -c # dmd A.obj B.obj Error 1: Previous Definition Different : _D1B9__T1TVi0Z1T5Inner6__initZ Note that this is a regression since D1.037/D2.021 used to compile this code just fine. Both D1.038 and D2.022 are affected. Could it be related to this one: http://d.puremagic.com/issues/show_bug.cgi?id=2500 (fixed recently)? -- |
December 22, 2008 [Issue 2530] "Previous definition different" error on using template class with inner struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2530 ------- Comment #1 from wbaxter@gmail.com 2008-12-22 02:35 ------- Maybe related to bug 1629 too: http://d.puremagic.com/issues/show_bug.cgi?id=1629 (error message is the same anyway) -- |
January 11, 2009 [Issue 2530] "Previous definition different" error on using template class with inner struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2530 smjg@iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg@iname.com Severity|normal |regression Keywords| |link-failure -- |
September 04, 2009 [Issue 2530] "Previous definition different" error on using template class with inner struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2530 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |DUPLICATE --- Comment #2 from Don <clugdbug@yahoo.com.au> 2009-09-04 07:03:36 PDT --- This was a duplicate of bug 1629 and was fixed in DMD1.041. *** This issue has been marked as a duplicate of issue 1629 *** -- 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