Adding -Weffc++ to the makefile and correction of all the resulting errors