Skip to content

clang: Enable MS extensions#5495

Closed
jeromemarchand wants to merge 1 commit intoiovisor:masterfrom
jeromemarchand:ms-extensions
Closed

clang: Enable MS extensions#5495
jeromemarchand wants to merge 1 commit intoiovisor:masterfrom
jeromemarchand:ms-extensions

Conversation

@jeromemarchand
Copy link
Copy Markdown
Contributor

Since v6.19, the linux kernel allows the use of MS style anonymous structs and unions. Add "-fms-extensions" to cflags to support them, and also "-Wmicrosoft-anon-tag" to prevent an "anonymous structs are a Microsoft extension" warning.

Fixes #5488

Since v6.19, the linux kernel allows the use of MS style anonymous
structs and unions. Add "-fms-extensions" to cflags to support them,
and also "-Wmicrosoft-anon-tag" to prevent an "anonymous structs are a
Microsoft extension" warning.

Fixes iovisor#5488

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
@ekyooo
Copy link
Copy Markdown
Collaborator

ekyooo commented Mar 31, 2026

Thank you for working on this fix. We are going to apply #5487, which was submitted earlier for the same issue.

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.

bindsnoop: include/linux/ns_common.h:25:23: error: no member named 'ns_id' in 'struct ns_common'

2 participants