D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 8190

Summary: Externally defined struct error message
Product: D Reporter: bearophile_hugs
Component: dmdAssignee: No Owner <nobody>
Status: RESOLVED FIXED
Severity: major CC: bugzilla
Priority: P2 Keywords: diagnostic, pull
Version: D2
Hardware: All
OS: All

Description bearophile_hugs 2012年06月03日 03:54:43 UTC
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.)
Comment 1 Kenji Hara 2012年06月06日 06:05:20 UTC
https://github.com/D-Programming-Language/dmd/pull/985 
Comment 2 github-bugzilla 2012年06月11日 05:49:07 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e23c00319834052639aaee473fa28cb614be4b9d
fix Issue 8190 - Externally defined struct error message
https://github.com/D-Programming-Language/dmd/commit/dd0d9c7cd96dd1b39dbb91bbc015308b241ca835
Merge pull request #985 from 9rnsr/fix8190
Issue 8190 - Externally defined struct error message

AltStyle によって変換されたページ (->オリジナル) /