Skip to content
New issue

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

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

Already on GitHub? # to your account

Multiople comparison is always true due to limited range of data type [-Wtype-limits] #4

Open
JanneKiiskila opened this issue Dec 29, 2021 · 0 comments

Comments

@JanneKiiskila
Copy link
Contributor

JanneKiiskila commented Dec 29, 2021

From master with hash; 884f273

Multiple compiler warnings that look a bit worrying.

Compile [  1.0%]: avs_coap_async_client.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.1%]: XNucleoIKS01A2.cpp
Compile [  1.1%]: avs_coap_exchange.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.2%]: avs_coap_async_server.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.3%]: avs_coap_code_utils.c
Compile [  1.4%]: avs_coap_common_utils.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.5%]: avs_coap_observe.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.6%]: avs_coap_ctx.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  1.7%]: accelerometer.cpp
Compile [  1.8%]: avs_coap_iterator.c
Compile [  1.8%]: avs_coap_option.c
Compile [  1.9%]: avs_coap_streaming_client.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.0%]: avs_coap_options.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.1%]: avs_coap_streaming_server.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.2%]: avs_coap_udp_msg.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.3%]: avs_coap_udp_tx_params.c
Compile [  2.4%]: avs_coap_udp_msg_cache.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.5%]: avs_coap_udp_ctx.c
[Warning] avs_coap_ctx.h@41,31: comparison is always true due to limited range of data type [-Wtype-limits]
Compile [  2.6%]: anjay_access_utils.c
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant