This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Repository navigation
[linux-port] Fix spirv test warnings - #233
Merged
Merged
Conversation
|
❌ Build DirectXShaderCompiler 1.0.149 failed (commit 391b00c1dd by @pow2clk) |
antiagainst
reviewed
May 30, 2018
There was a problem hiding this comment.
IMHO we should use -w to suppress all warnings. Selectively disabling them is not quite future proof.
Author
There was a problem hiding this comment.
That was my initial thought, but since they'd been selectively removed before, I thought I'd be conservative. If we have no intention of fixing warnings in these external projects, then I agree, it makes sense to just dismiss them all.
clang-spirv-tests uses a lot of external projects that keep themselves clean with different standards of warnings flags. This alters the appropriate cmake files to disable flags that the DXC build enables. Fixes 72 gcc and 166 clang warnings. Additionally catch some sign mismatch comparisons in tests built as part of clang-spirv-tests. Fixes 2 gcc and 2 clang warnings, but one of them has multiple sources So it's kind of a lot more. Contributes to google#206
|
✅ Build DirectXShaderCompiler 1.0.150 completed (commit dd93120ef9 by @pow2clk) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
clang-spirv-tests uses a lot of external projects that keep
themselves clean with different standards of warnings flags.
This alters the appropriate cmake files to disable flags that
the DXC build enables.
Fixes 72 gcc and 166 clang warnings.
Additionally catch some sign mismatch comparisons in tests
built as part of clang-spirv-tests.
Fixes 2 gcc and 2 clang warnings, but one of them has multiple sources
So it's kind of a lot more.
Contributes to #206