Mbed forum

A lot of warnings inside the test suites that could be easily eliminated


(Subhan Waizi) #1

I get a lot of warnings when compiling the test suites. Mostly because of implicit int* --> int32_t* casts which the compiler sees as an incompatible pointer type.

suites/host_test.function: In function ‘convert_params’:
suites/host_test.function:293:43: warning: passing argument 2 of ‘get_expression’ from incompatible pointer type
suites/main_test.function:64:12: note: expected ‘int32_t *’ but argument is of type ‘int *’


(Ron Eldor) #2

@TrinityTonic
Thank you for your information. Could you kindly share your compiler’s version?
Regards,
Mbed TLS Team member
Ron


(Subhan Waizi) #3

It’s gccarmemb 4.9.3 arm-none-eabi.