tech:notes_langage_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_langage_c [2026/10/28 14:22] – Jean-Baptiste | tech:notes_langage_c [2026/11/03 11:06] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 171: | Ligne 171: | ||
| ~~~bash | ~~~bash | ||
| gcc -g -O0 mon_programme.c -o mon_programme | gcc -g -O0 mon_programme.c -o mon_programme | ||
| + | gcc -Wall -Wextra -Werror -ggdb -O0 -std=gnu17 -o hello_world hello_world.c | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | gcc -o executable -std=c11 -Wall main.c | ||
| + | gcc -o executable -std=c11 -Wall -ggdb3 main.c | ||
| ~~~ | ~~~ | ||
| Ligne 179: | Ligne 186: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | |||
| + | Voir aussi : | ||
| + | * heaptrack | ||
| + | |||
| ~~~bash | ~~~bash | ||
| valgrind --leak-check=yes ./ | valgrind --leak-check=yes ./ | ||
| + | valgrind --leak-check=full --show-leak-kinds=all ./ | ||
| ~~~ | ~~~ | ||
tech/notes_langage_c.1793193774.txt.gz · Dernière modification : de Jean-Baptiste
