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

Crank up the warnings and resolve as many as possible #75

Merged
merged 9 commits into from
Sep 11, 2024

Conversation

jpco
Copy link
Collaborator

@jpco jpco commented Jan 5, 2024

Tested with gcc and clang on linux. I believe gcc's -Wclobbered is genuinely buggy and most or all of the warnings it produces here are false positives, so I'm leaving that one turned off, even though it seems handy for es' setjmp-heavy code. (See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65041 and attached issues for more on GCC's behavior.) Helps move toward #3.

@jpco
Copy link
Collaborator Author

jpco commented Jan 6, 2024

It would be valuable to add -Wconversion as well, but fixing all the warnings caused by -Wconversion is a whole task in itself (and, I suspect, causes a dizzying diff).

I guess I was building without readline before?
@jpco jpco merged commit 15614b2 into wryun:master Sep 11, 2024
1 check passed
@jpco jpco deleted the warnings branch September 11, 2024 17:33
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