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

Enable -Werror for Windows & cleanup warnings #487

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

jtraglia
Copy link
Member

For some reason, the Windows compiler shows more accurate warnings than Unix.

It accurately made these observations:

  • -Wc++-compat and -Wredundant-move are only for C++ code.
  • -Wlarger-than=512 should (and does) happen all the time.
    • Lots of our stack variables are large than 512 bytes.
  • -Wlong-long might also happen all the time.

@jtraglia
Copy link
Member Author

This should be non-controversial. Going to merge.

@jtraglia jtraglia merged commit 6ed2dc7 into ethereum:main Aug 15, 2024
38 checks passed
@jtraglia jtraglia deleted the cleanup-warnings-windows branch August 15, 2024 14:04
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.

1 participant