8190 – Externally defined struct error message

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8190 - Externally defined struct error message
Summary: Externally defined struct error message
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 major
Assignee: No Owner
URL:
Keywords: diagnostic, pull
Depends on:
Blocks:
Reported: 2012年06月03日 03:54 UTC by bearophile_hugs
Modified: 2015年06月09日 05:11 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
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 によって変換されたページ (->オリジナル) /