Bug 8190 – Externally defined struct error message
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-03T03:54:00Z
Last change time
2015-06-09T05:11:39Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2012-06-03T03:54:43Z
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.)