omf2097 / openomf

One Must Fall 2097 Remake
http://www.openomf.org
MIT License
362 stars 35 forks source link

More compiler warnings #431

Open katajakasa opened 2 years ago

katajakasa commented 2 years ago

Instead of bothering with coverity/sonarcloud, we should consider enabling more compiler warnings for better quality code. Currently we only use "-Wall", which enables the conservative warnings.

Try out these:

I haven't tried any of the above yet, and some (all?) might be too zealous. These should be tested one at a time and see how much we would have to rewrite (and if they are worth it).

Any other flags ?