Suppress deprecation warning with -E (#5050)
This commit is contained in:
parent
f5b1537ed1
commit
59b955e014
|
@ -1054,10 +1054,10 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
if (SHOW_DEF_PLATFORM_MSG && default_platform)
|
if (SHOW_DEF_PLATFORM_MSG && default_platform && !mSettings.quiet)
|
||||||
printMessage("Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this.");
|
printMessage("Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this.");
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
if (SHOW_DEF_PLATFORM_MSG && default_platform)
|
if (SHOW_DEF_PLATFORM_MSG && default_platform && !mSettings.quiet)
|
||||||
printMessage("Windows 32-bit binaries currently default to the 'win32A' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win32A' explicitly if you rely on this.");
|
printMessage("Windows 32-bit binaries currently default to the 'win32A' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win32A' explicitly if you rely on this.");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue