suppress some obsolete warnings

they will become errors when we remove them
suppress XML doc warnings in release