We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd1b5f9 commit a2ef80bCopy full SHA for a2ef80b
1 file changed
cli/main.cpp
@@ -96,3 +96,15 @@ int main(int argc, char* argv[])
96
CppCheckExecutor exec;
97
return exec.check(argc, argv);
98
}
99
+
100
101
+// Warn about deprecated compilers
102
+#ifdef __GNUC__
103
+# if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))
104
+# warning "Using GCC 4.4 or earlier. Support for this version will be removed soon."
105
+# endif
106
+#elif defined(_MSC_VER)
107
+# if (_MSC_VER < 1600)
108
+# pragma message("Using Visual Studio 2008 or earlier. Support for this version will be removed soon.")
109
110
+#endif
0 commit comments