Skip to content

Conversation

@rockyzhang
Copy link

RISC-V, like arm/arm64 is an architecture requires more strict alignment.

Disable the warning like arm/arm64 to make it buildable.

RISC-V, like arm/arm64 is an architecture requires more strict
alignment.

Disable the warning like arm/arm64 to make it buildable.
@belegdol
Copy link
Contributor

I believe @cuavas preferred to actually fix the code causing the warnings rather than disabling them. As such, it could help if you provided a build log with -Wno-error=cast-align. This way we would know which code parts generate the warnings.

@cuavas
Copy link
Member

cuavas commented Dec 11, 2025

Disabling the warnings doesn't fix the issues. We need to start addressing this rather than just suppressing the warnings.

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.

3 participants