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/slang-rt | |
| 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/slang-rt')
| -rw-r--r-- | build/visual-studio/slang-rt/slang-rt.vcxproj | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/build/visual-studio/slang-rt/slang-rt.vcxproj b/build/visual-studio/slang-rt/slang-rt.vcxproj index 1c1190be2..023645e3b 100644 --- a/build/visual-studio/slang-rt/slang-rt.vcxproj +++ b/build/visual-studio/slang-rt/slang-rt.vcxproj @@ -163,7 +163,6 @@ <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -173,14 +172,12 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <ImportLibrary>..\..\..\bin\windows-x86\debug\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -190,14 +187,12 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <ImportLibrary>..\..\..\bin\windows-x64\debug\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug aarch64|ARM'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>_DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <Optimization>Disabled</Optimization> @@ -207,14 +202,12 @@ <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <ImportLibrary>..\..\..\bin\windows-aarch64\debug\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -228,14 +221,12 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <ImportLibrary>..\..\..\bin\windows-x86\release\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -249,14 +240,12 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <ImportLibrary>..\..\..\bin\windows-x64\release\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release aarch64|ARM'"> <ClCompile> <PrecompiledHeader>NotUsing</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> - <TreatWarningAsError>true</TreatWarningAsError> <PreprocessorDefinitions>NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Full</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> @@ -270,7 +259,6 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <ImportLibrary>..\..\..\bin\windows-aarch64\release\slang-rt.lib</ImportLibrary> - <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> </Link> </ItemDefinitionGroup> <ItemGroup> |
