aboutsummaryrefslogtreecommitdiff
path: root/manual.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-05-21 18:06:31 +0800
committerGitHub <noreply@github.com>2019-05-21 18:06:31 +0800
commit6c6b64eedc15d603679e658376890cf8b29ec562 (patch)
tree9c9771f1fddcf1fb54c6910c086e522d1dcf055a /manual.md
parentced9fbfb71fcffc8d9286b20dbd0b921ff09d41c (diff)
parent46611edf6b1870c50618151e333a3b0b09dd43fe (diff)
downloadxmake-docs-6c6b64eedc15d603679e658376890cf8b29ec562.tar.gz
xmake-docs-6c6b64eedc15d603679e658376890cf8b29ec562.zip
Merge pull request #3 from OpportunityLiu/patch-1
Update manual.md
Diffstat (limited to 'manual.md')
-rw-r--r--manual.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/manual.md b/manual.md
index c8c10b72..577d1656 100644
--- a/manual.md
+++ b/manual.md
@@ -1181,6 +1181,8 @@ Set the warning level of the compilation of the current target, generally suppor
| less | Enable fewer warnings | -W1 | -W1 |
| more | Enable more warnings | -W3 | -W3 |
| all | Enable all warnings | -Wall | -W3 (-Wall too more warnings) |
+| extra | Enable extra warnings | -Wextra | -W4 |
+| everything | Enable all supported warnings | -Wall -Wextra -Weffc++ / -Weverything | -Wall |
| error | Use all warnings as compilation errors | -Werror | -WX |
The parameters of this api can be added in combination, for example: