commit | a9e391c891ce200347e5ef95694b44706e9b61d0 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Oct 06 07:47:59 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 06 07:47:59 2023 +0000 |
tree | a882b16ebdb586c5a81039abdceb806feca32a6d | |
parent | 3863c372e6e9e86d25e661600df095a77eb900ab [diff] |
Android.bp: Use C++20 everywhere Some modules used C++20, others used the default. Specify C++20 everywhere to avoid mixing standards. Parts of Pigweed (pw_span in particular) behave differently depending on the current C++ standard, which can cause problems when compiling translation units with different standards. Specifying C++20 everywhere prevents Pigweed from relying on the default, which may change in the future. Also, switch from c++2a to c++20. Bug: b/303371098 Change-Id: I932a626848abcdf354267b24755557102622b2f9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/174630 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Commit-Queue: Victor Berchet <berchet@google.com> Reviewed-by: Victor Berchet <berchet@google.com>
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/.