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

C99 standard #2644

Closed
wants to merge 32 commits into from
Closed

C99 standard #2644

wants to merge 32 commits into from

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented Mar 15, 2025

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

Makes Capstone build with -std=c99 (and without c11 extensions).

Capstone C99 compatibility was always implied (here, here or here) but never properly checked.

This PR adds a build test for (real) C99 and makes necessary changes to build. This is mostly the invalidity of anonymous unions.

A refactor script is added to ease the fix up in code.

Test plan

All green

Closing issues

closes #2643

Sorry, something went wrong.

@github-actions github-actions bot added the Github-files Github related files label Mar 15, 2025

Verified

This commit was signed with the committer’s verified signature.
@notxvilka

This comment was marked as resolved.

@Rot127 Rot127 marked this pull request as draft March 15, 2025 17:35

Verified

This commit was signed with the committer’s verified signature.
Rot127 added 26 commits March 16, 2025 09:19

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure because of non-static functions in SystemZ header
2 participants