Adding necessary diagnostic ignore #pragma statements