pw_build: Restrict -Wno-unused-template to Clang The -Wno-unused-template warning option is Clang-specific. On GCC compilers (such as arm-zephyr-eabi-gcc), passing this flag produces spurious diagnostics when compilation fails or generates warnings: "note: unrecognized command-line option '-Wno-unused-template' may have been intended to silence earlier diagnostics". Restrict -Wno-unused-template to Clang across CMake, GN, and Bazel strict warning configurations, matching the pattern used for the deprecated-attributes warning exemption. Change-Id: Ifcd3993b2f6ad9348fc081e2e0cf170b234d44e5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/480645
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.