hharte / mm_manager

Manager for the Nortel Millennium series of payphones.
Other
54 stars 10 forks source link

Enable aggressive static analysis flags - resolve resulting issues #19

Closed kscz closed 1 year ago

kscz commented 1 year ago

Enable -Wall -Wextra and -Werror (as well as a few more useful lints) and then fix everything to get it compiling.

kscz commented 1 year ago

Ended up disabling the flags in the final build, but figured the code cleanup couldn't hurt. I think it would have worked for both Mac and Linux, but the windows build failures were mysterious flag issues which I was not inclined to repair.

It looks like the windows build is now failing due to the fact that I don't have permission for something - could you please attempt to re-kick it off @hharte ?

Thanks! And let me know if you'd prefer me to change anything!

hharte commented 1 year ago

Thank you!