mirror of
https://github.com/php-win-ext/winlib-builder.git
synced 2026-03-26 02:02:15 +01:00
33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
configure/CommandLineInfo.cpp | 4 ++--
|
|
configure/ProjectFile.cpp | 2 --
|
|
2 files changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/configure/CommandLineInfo.cpp b/configure/CommandLineInfo.cpp
|
|
index c212e91..7f045bf 100644
|
|
--- a/configure/CommandLineInfo.cpp
|
|
+++ b/configure/CommandLineInfo.cpp
|
|
@@ -165,8 +165,8 @@ void CommandLineInfo::ParseParam(const wchar_t* pszParam, BOOL bFlag, BOOL bLast
|
|
_noWizard=true;
|
|
else if (_wcsicmp(pszParam, L"LimitedPolicy") == 0)
|
|
_policyConfig=PolicyConfig::LIMITED;
|
|
- else if (_wcsicmp(pszParam, L"openCL") == 0)
|
|
- _useOpenCL=true;
|
|
+ else if (_wcsicmp(pszParam, L"noOpenCL") == 0)
|
|
+ _useOpenCL=false;
|
|
else if (_wcsicmp(pszParam, L"OpenPolicy") == 0)
|
|
_policyConfig=PolicyConfig::OPEN;
|
|
else if (_wcsicmp(pszParam, L"Q8") == 0)
|
|
diff --git a/configure/ProjectFile.cpp b/configure/ProjectFile.cpp
|
|
index 0a68b9e..a9cb1d7 100644
|
|
--- a/configure/ProjectFile.cpp
|
|
+++ b/configure/ProjectFile.cpp
|
|
@@ -755,8 +755,6 @@ void ProjectFile::writeItemDefinitionGroup(wofstream &file,const bool debug)
|
|
file << " <WarningLevel>TurnOffAllWarnings</WarningLevel>" << endl;
|
|
else
|
|
file << " <WarningLevel>Level" << _project->warningLevel() << "</WarningLevel>" << endl;
|
|
- if (_project->treatWarningAsError())
|
|
- file << " <TreatWarningAsError>true</TreatWarningAsError>" << endl;
|
|
file << " <SuppressStartupBanner>true</SuppressStartupBanner>" << endl;
|
|
if (_project->compiler(_wizard->visualStudioVersion()) == Compiler::CPP)
|
|
file << " <CompileAs>CompileAsCpp</CompileAs>" << endl;
|