Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when building 3.0.0 release with -pedantic #111

Open
aescolar opened this issue May 8, 2023 · 0 comments
Open

Warnings when building 3.0.0 release with -pedantic #111

aescolar opened this issue May 8, 2023 · 0 comments

Comments

@aescolar
Copy link
Contributor

aescolar commented May 8, 2023

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
@aescolar aescolar changed the title Warnings when building with -pedantic Warnings when building 3.0.0 release with -pedantic May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant