From d65c6183c0d8b365aa182c3d9026ba85522531f2 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 17 Aug 2022 20:57:15 +0100 Subject: 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 Co-authored-by: Yong He --- .../compiler-core/compiler-core.vcxproj | 24 ---------------------- build/visual-studio/core/core.vcxproj | 24 ---------------------- build/visual-studio/slang-rt/slang-rt.vcxproj | 12 ----------- build/visual-studio/slang/slang.vcxproj | 12 ----------- 4 files changed, 72 deletions(-) (limited to 'build/visual-studio') diff --git a/build/visual-studio/compiler-core/compiler-core.vcxproj b/build/visual-studio/compiler-core/compiler-core.vcxproj index ba0ddde88..34ca85ef3 100644 --- a/build/visual-studio/compiler-core/compiler-core.vcxproj +++ b/build/visual-studio/compiler-core/compiler-core.vcxproj @@ -157,7 +157,6 @@ NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -167,15 +166,11 @@ Windows true - - true - NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -185,15 +180,11 @@ Windows true - - true - NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -203,15 +194,11 @@ Windows true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -225,15 +212,11 @@ true true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -247,15 +230,11 @@ true true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -269,9 +248,6 @@ true true - - true - 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 @@ NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -167,15 +166,11 @@ Windows true - - true - NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -185,15 +180,11 @@ Windows true - - true - NotUsing Level4 - true _DEBUG;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -203,15 +194,11 @@ Windows true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -225,15 +212,11 @@ true true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -247,15 +230,11 @@ true true - - true - NotUsing Level4 - true NDEBUG;%(PreprocessorDefinitions) Full true @@ -269,9 +248,6 @@ true true - - true - 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 @@ NotUsing Level4 - true _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -173,14 +172,12 @@ Windows true ..\..\..\bin\windows-x86\debug\slang-rt.lib - true NotUsing Level4 - true _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -190,14 +187,12 @@ Windows true ..\..\..\bin\windows-x64\debug\slang-rt.lib - true NotUsing Level4 - true _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled @@ -207,14 +202,12 @@ Windows true ..\..\..\bin\windows-aarch64\debug\slang-rt.lib - true NotUsing Level4 - true NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true @@ -228,14 +221,12 @@ true true ..\..\..\bin\windows-x86\release\slang-rt.lib - true NotUsing Level4 - true NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true @@ -249,14 +240,12 @@ true true ..\..\..\bin\windows-x64\release\slang-rt.lib - true NotUsing Level4 - true NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true @@ -270,7 +259,6 @@ true true ..\..\..\bin\windows-aarch64\release\slang-rt.lib - true diff --git a/build/visual-studio/slang/slang.vcxproj b/build/visual-studio/slang/slang.vcxproj index ac8da5b89..8e4675262 100644 --- a/build/visual-studio/slang/slang.vcxproj +++ b/build/visual-studio/slang/slang.vcxproj @@ -163,7 +163,6 @@ NotUsing Level4 - true _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase @@ -174,7 +173,6 @@ Windows true ..\..\..\bin\windows-x86\debug\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll ..\..\..\bin\windows-x86\debug > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll ..\..\..\bin\windows-x86\debug > nul) @@ -185,7 +183,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d NotUsing Level4 - true _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase @@ -196,7 +193,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d Windows true ..\..\..\bin\windows-x64\debug\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll ..\..\..\bin\windows-x64\debug > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll ..\..\..\bin\windows-x64\debug > nul) @@ -207,7 +203,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d NotUsing Level4 - true _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase @@ -218,7 +213,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d Windows true ..\..\..\bin\windows-aarch64\debug\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll ..\..\..\bin\windows-aarch64\debug > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll ..\..\..\bin\windows-aarch64\debug > nul) @@ -229,7 +223,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-aarch64\release\slang-glsla NotUsing Level4 - true NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full @@ -244,7 +237,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-aarch64\release\slang-glsla true true ..\..\..\bin\windows-x86\release\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll ..\..\..\bin\windows-x86\release > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-x86\release\slang-llvm.dll ..\..\..\bin\windows-x86\release > nul) @@ -255,7 +247,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d NotUsing Level4 - true NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full @@ -270,7 +261,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d true true ..\..\..\bin\windows-x64\release\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll ..\..\..\bin\windows-x64\release > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-x64\release\slang-llvm.dll ..\..\..\bin\windows-x64\release > nul) @@ -281,7 +271,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d NotUsing Level4 - true NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full @@ -296,7 +285,6 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d true true ..\..\..\bin\windows-aarch64\release\slang.lib - true IF EXIST ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll\ (xcopy /Q /E /Y /I ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll ..\..\..\bin\windows-aarch64\release > nul) ELSE (xcopy /Q /Y /I ..\..\..\external\slang-llvm\bin\windows-aarch64\release\slang-llvm.dll ..\..\..\bin\windows-aarch64\release > nul) -- cgit v1.2.3