Thread overview
[Issue 22611] ImportC: Need better error messages involving structs
December 19
https://issues.dlang.org/show_bug.cgi?id=22611

--- Comment #1 from Lance Bachmeier <lance@lancebachmeier.com> ---
Related: https://issues.dlang.org/show_bug.cgi?id=22610

--
January 31
https://issues.dlang.org/show_bug.cgi?id=22611

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC
                 CC|                            |bugzilla@digitalmars.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--
February 02
https://issues.dlang.org/show_bug.cgi?id=22611

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
Internally, the compiler does not keep track of which typedefs are pointing to a struct tag, so it's kinda awkward to fix.

--
February 02
https://issues.dlang.org/show_bug.cgi?id=22611

--- Comment #3 from Lance Bachmeier <lance@lancebachmeier.com> ---
The line number is reported with the error, so that's not a big issue. Something like

Error: 3 extra initializer(s) in struct

would be better than

Error: 3 extra initializer(s) for `struct __tag21`

because __tag21 is not known to the programmer.

--
September 23
https://issues.dlang.org/show_bug.cgi?id=22611

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

--