Add more warning flags and fix found warnings
This MR adds more warnings and fixes all instances of these errors in the codebase.
Related to #2 (closed)
This MR adds more warnings and fixes all instances of these errors in the codebase.
Related to #2 (closed)