This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error "Variably modified at file scope" nrf_atfifo.c

Hello, I have an error while building the project "ble_app_hrs_rscs_relay_pca10056_s140" with sdk14.0.0 on segger embedded studio 3.26 and gcc/clang.

When compiling nrf_atfifo.c, is says "variably modified 'do_assert' at file scope", and I'm redirected to the app_util.h file in the #define STATIC_ASSERT(EXPR) definition.

nrf_atfifo_internal.PNG

app_util.PNG

Does anyone have an idea on that?

Thank you

tperson

Related