Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing group field #1

Merged
merged 2 commits into from
May 13, 2024
Merged

Add missing group field #1

merged 2 commits into from
May 13, 2024

Conversation

jonsmock
Copy link
Collaborator

Fixes the compilation warning/error by adding the group field to our argp_options:

missing initializer for field 'group' of 'const struct argp_option'
[-Werror=missing-field-initializers]

Also adds a push workflow that exercises the build. You can inspect the error from
before this branch in the failing workflow run: https://github.com/Viasat/ebpf-linkevents/actions/runs/9066705673

Rebuilding, we get the following error:

```
missing initializer for field 'group' of 'const struct argp_option'
[-Werror=missing-field-initializers]
```

argp_option (from argp.h) has one more field 'group', denoting the cli
option grouping when displaying groups of options to users.  Adding
group ids to avoid the compilation warning/error.
@jonsmock jonsmock merged commit c1d7d74 into main May 13, 2024
2 checks passed
@jonsmock jonsmock deleted the add-missing-group-field branch May 13, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants