mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:53:34 +02:00
gcc, g++: Clarify -Wall (#8647)
This commit is contained in:
parent
42a5b68d7d
commit
7e5a70713a
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
`g++ {{path/to/source.cpp}} -o {{path/to/output_executable}}`
|
`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}}`
|
`g++ {{path/to/source.cpp}} -Wall -o {{path/to/output_executable}}`
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
`gcc {{path/to/source1.c path/to/source2.c ...}} -o {{path/to/output_executable}}`
|
`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}}`
|
`gcc {{path/to/source.c}} -Wall -Og -o {{path/to/output_executable}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue