You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building in a project with -pedantic and the latest release,
There is now lot's (thousands) of warnings akin to:
nrfx/hal/nrf_spim.h:134:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
134 | #if NRFX_FEATURE_PRESENT(SPIM, _FEATURE_RXDELAY_PRESENT) || defined(__NRFX_DOXYGEN__)
| ^~~~~~~~~~~~~~
nrfx/hal/nrf_egu.h:298:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
298 | NRF_INTERNAL_EGU_CHAN_NUM_EXTRACT(chan_num, p_reg);
| ^ ~~~~~~~~~~
They all seem to boil down to the same issue:
nrfx/hal/nrf_egu.h:298:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpio.h:1299:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpio.h:821:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:180:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:181:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:182:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:183:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:185:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:186:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:187:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_gpiote.h:188:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_spim.h:118:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_spim.h:125:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_spim.h:126:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
nrfx/hal/nrf_spim.h:134:1: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
The text was updated successfully, but these errors were encountered:
aescolar
changed the title
Warnings when building with -pedantic
Warnings when building 3.0.0 release with -pedantic
May 8, 2023
When building in a project with
-pedantic
and the latest release,There is now lot's (thousands) of warnings akin to:
They all seem to boil down to the same issue:
The text was updated successfully, but these errors were encountered: