From e3ab20d81906063c0b428a8fa68ffe80b3843633 Mon Sep 17 00:00:00 2001 From: Ivan Yakovlev Date: Thu, 10 Oct 2024 16:04:19 +0200 Subject: [PATCH] Update c.md -Wall -- show all warnings -g -- generate debug info --- source/_posts/c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/c.md b/source/_posts/c.md index a470712..9eedac5 100644 --- a/source/_posts/c.md +++ b/source/_posts/c.md @@ -28,7 +28,7 @@ int main(void) { Compile `hello.c` file with `gcc` ```bash -$ gcc hello.c -o hello +$ gcc -Wall -g hello.c -o hello ``` Run the compiled binary `hello`