Language
C
Compiler
gcc 12.1.0
Options
Compiler Default
no pedantic
Raw compiler options
-Wall
-Werror
#include <stdio.h>
#include <stdlib.h>
int main(){
char x = 'a';
printf("%s", x); //Error cause i'm using %s for a char
}
$ gcc prog.c -Wall -Wextra -std=gnu11
Exit Code:
1