There may be some cases where changing compiler options should be a reasonable way to solve this problem.
Example:
You have an API with some prototype like this:
void Display (unsigned char * Text);
and you want to call like this:
Display ("Some text");
You may receive the same warning ("pointing targets when passing argument 1" Display "acquaintance differ").
This warning is related to the -Wpointer-sign flag, which, referring to the GNU compiler link, "... means -Wall and -pedantic , which can be disabled using -Wno-pointer-sign ".
kdmin source share