Fixed pragma warnings