Missing dependency in modem_info.h

While including <modem/modem_info.h> as first of the include list I get the following build error:

nrf/include/modem/modem_info.h:298:33: error: unknown type name 'size_t'

note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?

I see that the error on nRF Connect v3.2.3, main branch of sdk-nrf repository has not change regarding this, so i assume bug is still present.

  • Hi,

    I think I need to know a bit more context on your application... Can you maybe share some code snippet that shows that build error better (if you feel more comfortable sharing the code in private, I can make this ticket private. Just tell me to set it to private before sending anything)

    Also does the error disappear if you add that include?

    Best regards,

    Simon

Related