diff --git a/pages/common/g++.md b/pages/common/g++.md index f9c620257..5becdc772 100644 --- a/pages/common/g++.md +++ b/pages/common/g++.md @@ -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}}` diff --git a/pages/common/gcc.md b/pages/common/gcc.md index 607513b34..0eee66bed 100644 --- a/pages/common/gcc.md +++ b/pages/common/gcc.md @@ -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}}`