Skip to content
Snippets Groups Projects
Verified Commit 1ddf7656 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

modified options

parent d5bd60ca
Branches
Tags
No related merge requests found
...@@ -122,8 +122,8 @@ bool est_premier(int nombre) { ...@@ -122,8 +122,8 @@ bool est_premier(int nombre) {
- Il existe une multitude d'options de compilation: - Il existe une multitude d'options de compilation:
```bash ```bash
$ gcc -O1 -std=c11 -Wall -Wextra -g porg.c -o prog -fsanitize=address $ gcc -O1 -std=c11 -Wall -Wextra -g porg.c -o prog
-fsanitize=leak -fsanitize=undefined -fsanitize=address
``` ```
1. `-std=c11` utilisation de C11. 1. `-std=c11` utilisation de C11.
2. `-Wall et -Wextra` activation des warnings. 2. `-Wall et -Wextra` activation des warnings.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment