Kalle Olavi Niemitalo <kon@xxxxxx> writes: > If I change the unsigned char * to char *, then this error goes > away. But is there any other way to make GCC check the format > arguments without this error? Not without changing your source code. Perhaps you could use a varargs macro to cast the pointer to the required type. Ian