mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
Fix PVS-Studio integration
Without this configuration option, PVS-Studio looks for preprocessed files (*.i), but these do not exists.
This commit is contained in:
parent
1f521a0b23
commit
744f9016c4
@ -215,6 +215,7 @@ if (PHP_ANALYZER == "vs") {
|
|||||||
pvscfg.WriteLine("platform = " + (X64 ? 'x64' : 'Win32'));
|
pvscfg.WriteLine("platform = " + (X64 ? 'x64' : 'Win32'));
|
||||||
pvscfg.WriteLine("preprocessor = visualcpp");
|
pvscfg.WriteLine("preprocessor = visualcpp");
|
||||||
pvscfg.WriteLine("language = C");
|
pvscfg.WriteLine("language = C");
|
||||||
|
pvscfg.WriteLine("skip-cl-exe = no");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PHP_ANALYZER = "no"
|
PHP_ANALYZER = "no"
|
||||||
|
Loading…
Reference in New Issue
Block a user