Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #392 (new defect)

Opened 2 years ago

Last modified 2 years ago

forward reference bug still exists

Reported by: WasserDragoon Assigned to: ChristianK
Priority: major Milestone:
Component: unspecified Version: hg tip
Keywords: QtD,QAbstractScrollArea,QFrame,forward,reference,tango,windows Cc:

Description

Tried to compile QtD using trunk and getting errors / more information on attached log.txt! Also reported here: http://dsource.org/forums/viewtopic.php?t=5059

Attachments

log.txt (3.0 kB) - added by WasserDragoon on 01/23/10 09:43:28.

Change History

01/23/10 09:43:28 changed by WasserDragoon

  • attachment log.txt added.

01/23/10 10:16:08 changed by WasserDragoon

Oh, and also reported here: http://dsource.org/projects/qtd/ticket/41 I tried to set D_MODULES_PER_OBJECT to a higher level, but can't avoid these errors :-(

02/11/10 07:46:08 changed by WasserDragoon

I used QtD trunk from SVN Repository (should be QtD1!)

02/28/10 11:50:10 changed by Whyte

  • keywords changed from QtD,QAbstractScrollArea,QFrame,forward,reference to QtD,QAbstractScrollArea,QFrame,forward,reference,tango,windows.

I also get this bug when trying to compile Tango (rev 5391) on Windows, file tango/io/device/Device.d:

        version (Win32)
        {
                protected IO io;
                struct IO
                {
                    ...
                }
                ...
        }

Changing the order of those two fixes it, but even so it is still a bug...

03/12/10 15:08:49 changed by WasserDragoon

I really would like to use QtD next time... I'm waiting now over a half year to use it again :-( Today i tried a second time to build it from SVN Repository (there it's QtD v1!) and these are the results: http://pastebin.com/9Ht3Dyu7

03/12/10 15:10:06 changed by WasserDragoon

I used latest trunk versions of LDC and Tango...

03/12/10 15:24:09 changed by WasserDragoon

here's another little snippet which reconstructs this bug:

class Foo
{
  alias Fo.Ba Ba;
  
  int bar()
  {
    return Ba;
  }
}

enum Fo
{
  Ba = 123
}

03/15/10 14:55:21 changed by ChristianK

DMD 1.057 generates the same error on the snippet you posted. Are you sure this is not simply a DMDFE bug? If it is, please comment and vote on the relevant forward reference bugs against DMD.

Copyright © 2008, LDC Development Team.