digitalmars.D.bugs - Forward referencing problem still present in DMD 0.96
- stonecobra (10/10) Jul 25 2004 Attached is the requisite 10 line file :)
- Stewart Gordon (8/19) Jul 26 2004 And also because, when modules depend on each other, there are places
- stonecobra (4/21) Jul 26 2004 I just didn't want people to take the easy road because I made the 10
- Walter (3/5) Jul 26 2004 Yes, thank-you, this is just what I need to fix it. -Walter
Attached is the requisite 10 line file :) The file is compiled with 'dmd fwdref.d', and DMD then GPFs, with the following line on stderr: fwdref.d(2): interface XMLFilter base XMLReader is forward referenced Please don't say that the answer is to reorder the definition, as this is generated from a mechanical java -> D translation process, and would be implausible if not impossible to do (currently translating SAX2 to D, so we can have an XML parser). Thanks Scott Sanders
Jul 25 2004
stonecobra wrote:Attached is the requisite 10 line file :) The file is compiled with 'dmd fwdref.d', and DMD then GPFs, with the following line on stderr: fwdref.d(2): interface XMLFilter base XMLReader is forward referenced Please don't say that the answer is to reorder the definition, as this is generated from a mechanical java -> D translation process, and would be implausible if not impossible to do (currently translating SAX2 to D, so we can have an XML parser).And also because, when modules depend on each other, there are places where it can't (easily) be avoided.... Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit.
Jul 26 2004
Stewart Gordon wrote:stonecobra wrote:I just didn't want people to take the easy road because I made the 10 line example to make it easy for Walter to fix. Scott SandersAttached is the requisite 10 line file :) The file is compiled with 'dmd fwdref.d', and DMD then GPFs, with the following line on stderr: fwdref.d(2): interface XMLFilter base XMLReader is forward referenced Please don't say that the answer is to reorder the definition, as this is generated from a mechanical java -> D translation process, and would be implausible if not impossible to do (currently translating SAX2 to D, so we can have an XML parser).And also because, when modules depend on each other, there are places where it can't (easily) be avoided....
Jul 26 2004
"stonecobra" <scott stonecobra.com> wrote in message news:ce38po$1660$1 digitaldaemon.com...I just didn't want people to take the easy road because I made the 10 line example to make it easy for Walter to fix.Yes, thank-you, this is just what I need to fix it. -Walter
Jul 26 2004