added some flags to deactivate warnings introduced by a global -Weffc++