Azure/azure-c-shared-utility

25 Warnings in IOT code

Closed this issue · 8 comments

Hello Team,
We have integrated the Azure library in our project based on Zephyr OS.
We are getting 25 warnings as seen in attachement. Can you please help is resolving this. There is a mandatory requirement to have zero warnings in project.

25 Azure Code Warnings.txt

Hi @SadanandPenore-eaton thank you for letting us know about this issue. I'm adding this to our backlog and should get this resolved soon.

Thank you @wduraes ,
Any update on this. Can you provide tentative timeline for fixing?

Hello @SadanandPenore-eaton , may you please confirm all the compile options that were passed and used during the compilation process? Also, please provide the version of the c-utility (commit SHA) you are using.

Hi @SadanandPenore-eaton any chance you can share particulars with your build environment?

It looks like many of the warnings are coming from code outside of our repository like tlsio_mbedtls.cpp, socketio_ltk.cpp, IOT_Example.cpp and iot_serialization.c. Are you only looking for the solving of the warnings from our code which looks to be in iothub_internal_consts.h and iothubtransport_mqtt_common.c?

I will get back shortly with the required inputs.

Hello @SadanandPenore-eaton, just following up regarding the required inputs.

@SadanandPenore-eaton We resolved the issues that were being caused by code in the SDK. Please respond with an update if you need further assistance.