aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunity <Opportunity@live.in>2019-05-21 17:27:08 +0800
committerGitHub <noreply@github.com>2019-05-21 17:27:08 +0800
commit5027696da27a1c0dab61f984dfade2d02059746d (patch)
treef6ecc66fb66bfc26e26339408e10e02a22034192
parentced9fbfb71fcffc8d9286b20dbd0b921ff09d41c (diff)
downloadxmake-docs-5027696da27a1c0dab61f984dfade2d02059746d.tar.gz
xmake-docs-5027696da27a1c0dab61f984dfade2d02059746d.zip
Update 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: