es-shell icon indicating copy to clipboard operation
es-shell copied to clipboard

Crank up the warnings and resolve as many as possible

Open jpco opened this issue 2 years ago • 1 comments

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 avatar Jan 05 '24 23:01 jpco

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).

jpco avatar Jan 06 '24 00:01 jpco