#include <stdio.h> int main(void) { }
Standard input is empty
prog.c: In function ‘main’: prog.c:3:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Werror=format=] printf("%8lx\n", (int){42}); ^ cc1: all warnings being treated as errors
Standard output is empty