check compiler version for deprecation message