Bitfileds Error: no identifier for declarator

Stanislav Blinov stanislav.blinov at gmail.com
Thu Oct 28 05:51:37 UTC 2021


On Thursday, 28 October 2021 at 05:20:35 UTC, data pulverizer 
wrote:

> I am trying to compile the following items:
>
> struct sxpinfo_struct {
>   mixin(bitfields!(
>     // ...
>     uint, "debug",    1,
>     // ...
> }
> ```
>
> But I get the error...


`debug` is a language keyword, try a different one, like "debug_".

That error message though, much wow.


More information about the Digitalmars-d-learn mailing list