commit | eb8251df21cb5a77b959bbbb9d899b8002633a10 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Sat Jan 22 08:57:12 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 24 18:50:02 2022 +0000 |
tree | 4d7606675aa4555785501e84c959056ee0f0b372 | |
parent | 4aa99d0ae3c517ef06eb9a966f85022f68e10859 [diff] |
pw_thread_freertos/util: Adjust to avoid -fpermissive errors Depending on the FreeRTOS version, the list macros do not perform any casting. This in turn triggers -fpermissive errors which are nearly impossible to silence depending on your GCC version. Instead of attempting to silence them, instead acknowledge that the macro requires void pointer arguments instead. Change-Id: Id99e6b462f1793ebc14ce2b5a788b9a466ee68d3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/81120 Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Vic Yang <victoryang@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.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/