kprintf.c:5:23: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat] printf("reg=%b\n, %s", 3, "\10\2BITTWO\1BITONE\n", 7); // WRONG ~^ ~ kprintf.c:7:17: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat] printf("reg=%b\n, %s", "ahoj", "\10\2BITTWO\1BITONE\n", "foo"); // WRONG ~^ ~~~~~~ kprintf.c:8:17: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat] printf("reg=%b\n, %s", "ahoj", 7, "foo"); // WRONG ~^ ~~~~~~ kprintf.c:8:17: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat] printf("reg=%b\n, %s", "ahoj", 7, "foo"); // WRONG ~^ ~ kprintf.c:12:14: warning: conversion specifies type 'unsigned char *' but the argument has type 'char const *' [-Wformat] printf("%6D %s", ptr, ":", "foo"); // OK ~~^ ~~~ kprintf.c:13:14: warning: conversion specifies type 'unsigned char *' but the argument has type 'char const *' [-Wformat] printf("%6D %s", ptr, ":", 7); // WRONG ~~^ ~~~ kprintf.c:13:17: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat] printf("%6D %s", ptr, ":", 7); // WRONG ~^ ~ kprintf.c:15:14: warning: conversion specifies type 'unsigned char *' but the argument has type 'int' [-Wformat] printf("%6D %s", 7, ":", "foo"); // WRONG ~~^ ~ kprintf.c:16:14: warning: conversion specifies type 'unsigned char *' but the argument has type 'char const *' [-Wformat] printf("%6D %s", ptr, 8, "foo"); // WRONG ~~^ ~~~ kprintf.c:16:14: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat] printf("%6D %s", ptr, 8, "foo"); // WRONG ~~^ ~ kprintf.c:17:14: warning: conversion specifies type 'unsigned char *' but the argument has type 'int' [-Wformat] printf("%6D %s", 7, 8, "foo"); // WRONG ~~^ ~ kprintf.c:17:14: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat] printf("%6D %s", 7, 8, "foo"); // WRONG ~~^ ~ 12 warnings generated.