diff options
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index b89b7b424..99c9b982f 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -431,7 +431,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) if #output:trim() > 0 then local lines = {} for _, line in ipairs(output:split("\r\n")) do - if not _include_note(self, line) then + if line:match("warning %a+[0-9]+%s*:") then table.insert(lines, line) end end @@ -472,4 +472,3 @@ function compile(self, sourcefiles, objectfile, dependinfo, flags) _compile1(self, sourcefiles, objectfile, dependinfo, flags) end - |
