diff options
| author | Eric Engestrom <eric@engestrom.ch> | 2022-08-17 20:57:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-17 12:57:15 -0700 |
| commit | d65c6183c0d8b365aa182c3d9026ba85522531f2 (patch) | |
| tree | acffd9f5d57d56e88e3ba06d4e86aea1cfa460f7 /build/visual-studio/core | |
| parent | cbc7e62f42bc0770fbd9da20ed39a5191778e2af (diff) | |
Move -Werror to CI (#2362)
* move -Werror to CI
This allows people with a more up-to-date system than you to still compile your project, while still allowing you to block on every warning in your own development.
* Fixes.
* More fix.
* more fix.
* Disable werror for gcc.
* Fix bash.
* fix
* fix yml
Co-authored-by: Yong He <yonghe@outlook.com>
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'build/visual-studio/core')
| -rw-r--r-- | build/visual-studio/core/core.vcxproj | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/build/visual-studio/core/core.vcxproj b/build/visual-studio/core/core.vcxproj index 13e933326..0f567ee7e 100644 --- a/build/visual-studio/core/core.vcxproj +++ b/build/visual-studio/core/core.vcxproj @@ -157,7 +157,6 @@ <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -167,15 +166,11 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -185,15 +180,11 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug aarch64|ARM'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -203,15 +194,11 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -225,15 +212,11 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -247,15 +230,11 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release aarch64|ARM'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -269,9 +248,6 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> </Link> - <Lib> - <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors> - </Lib> </ItemDefinitionGroup> <ItemGroup> <ClInclude Include="..\..\..\source\core\slang-allocator.h" /> |
