From 5027696da27a1c0dab61f984dfade2d02059746d Mon Sep 17 00:00:00 2001 From: Opportunity Date: Tue, 21 May 2019 17:27:08 +0800 Subject: Update manual.md --- manual.md | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3 From 46611edf6b1870c50618151e333a3b0b09dd43fe Mon Sep 17 00:00:00 2001 From: Opportunity Date: Tue, 21 May 2019 17:29:58 +0800 Subject: Update manual.md --- zh/manual.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zh/manual.md b/zh/manual.md index a1005fae..ca9e957d 100644 --- a/zh/manual.md +++ b/zh/manual.md @@ -1206,6 +1206,8 @@ target("xxx") | less | 启用较少的警告 | -W1 | -W1 | | more | 启用较多的警告 | -W3 | -W3 | | all | 启用所有警告 | -Wall | -W3 (-Wall too more warnings) | +| extra | 启用额外的警告 | -Wextra | -W4 | +| everything | 启用全部支持的警告 | -Wall -Wextra -Weffc++ / -Weverything | -Wall | | error | 将所有警告作为编译错误 | -Werror | -WX | 这个api的参数是可以混合添加的,例如: -- cgit v1.2.3