On 11/5/21 10:29 AM, Anders Roxell wrote:
When building selftests, mqueue and vDSO the following shows up: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] The code looked OK so what normally are done are, adding the compiler directive to hide the warnings '-Wno-pointer-sign'.
Would be nice to see the lines of code that are generating these warns. I don't want to see the warnings suppressed all together in the Makefile. I don't see any point in doing so and it will suppress real problems in the future. I won't be accepting this patch. thanks, -- Shuah