commit | fa5ce250d9873497f51010b363421f0b04761148 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@pigweed.infra.roller.google.com> | Fri Aug 19 18:55:34 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 19 18:55:34 2022 +0000 |
tree | ec06ab805622a458da90f413f8df9080dc4babbf | |
parent | ab51f5cd69f839dc9c46a8f44a893d768da00226 [diff] |
[roll pigweed] pw_build: Build upstream Pigweed code with -Wpedantic - Enable pedantic warnings for upstream Pigweed builds. - Use std::array instead of C arrays in pw_protobuf codegen to avoid zero-length arrays. - Cast pointers to void* when using %p in printf-style statements. - Do not create empty structs in C. - Do not return void expressions in C. - Disable pedantic warnings related to features added in newer C++ standards (designated initializers, empty variadic arguments in macros). - Temporarily disable the nested-anon-types warning until these issues are fixed (b/243045403). Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107390 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 0f693fcf19fb0eb..1e67862f9dd32d8 Roller-URL: https://ci.chromium.org/b/8805377117894184625 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I0746ad12ea276903e1cbfb8fdc6a2483abbd4307 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107640 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>