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

xdpdump: A variable-sized type which should be placed at the end of a… #468

Closed
wants to merge 1 commit into from

Conversation

nanfengnan1
Copy link

… structure or union

if use -Werror,-Wgnu-variable-sized-type-not-at-end gnu flags in externel, will prevent compile code

… structure or union

if use -Werror,-Wgnu-variable-sized-type-not-at-end gnu flags in externel, will prevent compile code

Signed-off-by: fenglei <[email protected]>
@tohojo
Copy link
Member

tohojo commented Jan 14, 2025

Hmm, no, that is deliberate, the 'modes' member of ereq is there exactly to
contain the data pointed to by the variable-type member.

@tohojo tohojo closed this Jan 14, 2025
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