Force warnings option

Tests not included yet - this is only the preliminary work to add the option and check for it.