Check for specific compiler versions before using diagnostic pragmas
Typo