Fix or ignore expected compiler warnings.