#include <stdio.h> int main(void) { int flag = 42; }
Standard input is empty
prog.c: In function ‘main’: prog.c:6:5: error: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Werror=format] cc1: all warnings being treated as errors
Standard output is empty