Fix compiler warnings when building Notepad++ solution
Remove unsupported option /arch:IA32 from x64 & ARM64 Release for Notepad++ project. Define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING for SciLexer project to ignore a specific warning in third-party code. Now the solution builds without warnings in all configurations. Fix #10033, close #10034
This commit is contained in:
parent
fd5bfe4252
commit
263910a9a9
|
@ -315,7 +315,6 @@ copy ..\src\contextMenu.xml ..\bin\contextMenu.xml
|
|||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4091;4456;4457;4459</DisableSpecificWarnings>
|
||||
<AdditionalOptions>/Zc:strictStrings %(AdditionalOptions)</AdditionalOptions>
|
||||
|
@ -368,7 +367,6 @@ copy ..\src\contextMenu.xml ..\bin64\contextMenu.xml
|
|||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4091;4456;4457;4459</DisableSpecificWarnings>
|
||||
<AdditionalOptions>/Zc:strictStrings %(AdditionalOptions)</AdditionalOptions>
|
||||
|
|
Loading…
Reference in New Issue