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

Build with GCC11 #1622

Merged
merged 3 commits into from
Oct 20, 2022
Merged

Build with GCC11 #1622

merged 3 commits into from
Oct 20, 2022

Conversation

casaroli
Copy link
Contributor

I am building this as part of NuttX with GCC11 and I needed these minor changes for GCC not to get angry.

This function already handles misaligned pointers.
When building with GCC11, I get warnings about these prototypes.

This adds void to the parameters so these prototypes have strict
declarations.
@wenyongh wenyongh merged commit 4c61bfd into bytecodealliance:main Oct 20, 2022
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
Add pragma to ignore "-Waddress-of-packed-member"
Adds `void` parameter to the prototype of some functions to make them
have strict declarations
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