diff options
| author | ruki <[email protected]> | 2024-01-26 22:43:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-26 22:43:11 +0800 |
| commit | 3b12cd7ac54e33af6891fc7444128bb5c493366f (patch) | |
| tree | b7fc835f51ba9d346f82b0148f3ca2c1c309a44c /xmake/modules/core/tools/cl.lua | |
| parent | 37ea03445cb35ed3f3966f3433211451175eead1 (diff) | |
improve check warnings
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 2d267f508..2d60f2a1b 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -714,7 +714,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) function (ok, outdata, errdata) -- show warnings? - if ok and policy.build_warnings() then + if ok and policy.build_warnings(opt) then local output = outdata or "" if #output:trim() == 0 then output = errdata or "" |
