mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
1e67862f9d
- 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). Change-Id: I199d4d76949a066f631550848a6ba5dcb23d9b6a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107390 Reviewed-by: Scott James Remnant <keybuk@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> |
||
---|---|---|
.. | ||
public/pw_base64 | ||
base64_test_c.c | ||
base64_test.cc | ||
base64.cc | ||
BUILD.bazel | ||
BUILD.gn | ||
CMakeLists.txt | ||
docs.rst | ||
OWNERS |