intel / intel/yarpgen

clang complains about generated programs: width of bit-field 'member_1_0' (29 bits) exceeds the width of its type

Open
#74 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
570
Forks
65
PR merge metrics
No merged PRs in 30d

Description

```
./init.h:224:17: warning: width of bit-field 'member_1_0' (29 bits) exceeds the width of its type; value will be truncated to 8 bits [-Wbitfield-width]
signed char member_1_0 : 29;
^
./init.h:228:11: warning: width of bit-field 'member_1_2' (20 bits) exceeds the width of its type; value will be truncated to 16 bits [-Wbitfield-width]
short member_1_2 : 20;
^
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.