mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 20:31:20 +00:00
It's not valid for an explicit template specialization to declare a storage class (`static`). GCC correctly catches this, while Clang is too relaxed. Use C++17's 'inline' instead. The alternative is to push the initializers and values into the cpp file. This breakage was introduced in: https://dawn-review.googlesource.com/c/dawn/+/93604 Bug: dawn:1451 Change-Id: Ib3e61d233e16fd7828f8a2ae0909eedbd24ee52e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94320 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>