Tweak message. --std=posix will be deprecated in 2.05
This commit is contained in:
parent
219180b00a
commit
5626d22835
|
@ -638,7 +638,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
||||||
|
|
||||||
// --std
|
// --std
|
||||||
else if (std::strcmp(argv[i], "--std=posix") == 0) {
|
else if (std::strcmp(argv[i], "--std=posix") == 0) {
|
||||||
printMessage("cppcheck: Option --std=posix is deprecated and will be removed in 1.95.");
|
printMessage("cppcheck: Option --std=posix is deprecated and will be removed in 2.05.");
|
||||||
} else if (std::strcmp(argv[i], "--std=c89") == 0) {
|
} else if (std::strcmp(argv[i], "--std=c89") == 0) {
|
||||||
mSettings->standards.c = Standards::C89;
|
mSettings->standards.c = Standards::C89;
|
||||||
} else if (std::strcmp(argv[i], "--std=c99") == 0) {
|
} else if (std::strcmp(argv[i], "--std=c99") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue