[Bug 104] New: Forward reference error occurs when the -g switch is invoked

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 13 03:46:59 PDT 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=104

           Summary: Forward reference error occurs when the -g switch is
                    invoked
           Product: D
           Version: 0.154
          Platform: PC
               URL: http://www.dsource.org/projects/bindings/browser/trunk/f
                    reetype/freetype/def.d
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clayasaurus at gmail.com


The following code compiles fine with 'dmd -c bug.d', but gives a forward
reference error when compiled as 'dmd -c -g bug.d'

-- bug.d ----------------------------

Foofunc f;

alias int function(Foo) Foofunc;

-------------------------------------


-- 




More information about the Digitalmars-d-bugs mailing list