This fixes warnings when building for 32 bit targets.
Alternatively we could stick a few (void)var; in some 32-bit-only codepath.
Differential D91852
[compiler-rt] [windows] Add UNUSED attributes on variables/functions only used for 64 bit targets mstorsjo on Nov 20 2020, 1:44 AM. Authored by
Details This fixes warnings when building for 32 bit targets. Alternatively we could stick a few (void)var; in some 32-bit-only codepath.
Diff Detail Event Timeline
Comment Actions Sorry about the delay -- holidays. Landing this without further discussion was fine by me. |
I suppose this is fine, but it seems most of these could be constexpr, which would obviate the need for the preprocessor macro.