[Issue 23363] ImportC: Enums contain wrong members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 29 14:17:08 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23363

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|enhancement                 |normal

--- Comment #2 from Dennis <dkorpel at live.nl> ---
Can you please reduce it to a stand alone test case and be more specific about
the expected and actual output?

>From your second comment, there's this definition:
```
typedef enum
{
  P_ALL,                /* Wait for any child.  */
  P_PID,                /* Wait for specified process.  */
  P_PGID                /* Wait for members of process group.  */
} idtype_t;
```

And in your first comment you said the output looks like this:
```
git_status_opt_t
    P_ALL
    P_PID
    P_PGID
```

I don't see "wrong members" here.

--


More information about the Digitalmars-d-bugs mailing list