ARMmbed / wifi-ism43362

ISM43362 WiFi driver
17 stars 22 forks source link

Compilation warnings #59

Closed jeromecoutant closed 4 years ago

jeromecoutant commented 5 years ago

To check with ARM and GCC:

GCC status:

Compile [ 99.7%]: ISM43362Interface.cpp
[Warning] ISM43362Interface.cpp@66,80: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'uint32_t {aka long unsigned int}' [-Wformat=]
[Warning] ISM43362Interface.cpp@73,20: comparison between signed and unsigned integer expressions [-Wsign-compare]

Compile [ 99.9%]: BufferedSpi.cpp
[Warning] BufferedSpi.cpp@274,55: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t {aka long unsigned int}' [-Wformat=]

Compile [100.0%]: ISM43362.cpp
[Warning] ISM43362.cpp@603,74: format '%d' expects argument of type 'int', but argument 4 has type 'uint32_t {aka long unsigned int}' [-Wformat=]