You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Reduce or eliminate warnings on GCC and Clang #206
By my count, GCC produces 10126 warnings when building dxc. Clang produces 2335. (Clang has a tendency to consolidate when a long series of warnings are related) This overwhelming volume of warnings makes it difficult to recognize new warnings that might signal subtle bugs, slows the build, and brushes against the storage limits of the automated build system. The biggest !/$ were already eliminated as a precursor to enabling GCC builds, but there are still way too many.
This issue will serve to unite a few changes to fix various instances of specific warnings grouped into changes by type in hopes of making what would otherwise be a staggering monolithic change into comprehensible and reviewable pieces.
Sorry for letting these build up, but now you know what I've been doing this week. The great part about these changes is that they are pretty non-invasive. No one depends on any other. They don't even touch code very near each other and are therefore unlikely to cause merge conflicts. So they can be reviewed or submitted in any order and likely without a strict time constraint. So if you feel bored, pick one at random and give it a spin!
Activity
antiagainst commentedon May 26, 2018
Agreed. I'm using Clang 6.0.0 locally and collected the following statistics:
For warning categories:
For files triggering warnings:
pow2clk commentedon May 27, 2018
Sorry for letting these build up, but now you know what I've been doing this week. The great part about these changes is that they are pretty non-invasive. No one depends on any other. They don't even touch code very near each other and are therefore unlikely to cause merge conflicts. So they can be reviewed or submitted in any order and likely without a strict time constraint. So if you feel bored, pick one at random and give it a spin!
Just a heads up. More are on the way. 😰
90 remaining items
[linux-port] Correct const casts (microsoft#210)
[linux-port] Fix spirv test warnings
[linux-port] Fix spirv test warnings (#233)
[linux-port] Add missing case statements (#222)
[linux-port] Multiplex ModuleBuilder decorations
[linux-port] Multiplex ModuleBuilder decorations
[linux-port] Eliminate warnings on release builds (#247)