[Issue 8190] New: Externally defined struct error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 3 03:52:46 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8190

           Summary: Externally defined struct error message
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2012-06-03 03:54:43 PDT ---
extern(C) struct Foo;
extern (C) Foo bar() { assert(0); }
void main() {}


DMD 2.060alpha gives no line numbers:

Error: struct test.Foo unknown size
Error: struct test.Foo no size yet for forward reference


(Severiry is Major according to Don wishes on this kind of errors.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list