gcc, g++: Clarify -Wall (#8647)

This commit is contained in:
GallowsDove
2022-10-03 05:37:06 +00:00
committed by GitHub
parent 42a5b68d7d
commit 7e5a70713a
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
`g++ {{path/to/source.cpp}} -o {{path/to/output_executable}}`
- Display (almost) all errors and warnings:
- Display common warnings:
`g++ {{path/to/source.cpp}} -Wall -o {{path/to/output_executable}}`

View File

@@ -7,7 +7,7 @@
`gcc {{path/to/source1.c path/to/source2.c ...}} -o {{path/to/output_executable}}`
- Allow warnings, debug symbols in output:
- Show common warnings, debug symbols in output:
`gcc {{path/to/source.c}} -Wall -Og -o {{path/to/output_executable}}`