From a86d666ba3095bf9da443e782333b66c3aced59d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 3 Jan 2019 23:14:21 +0800 Subject: fix some warning info --- xmake/modules/core/tools/cparser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/cparser.lua') diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua index ac1f6bb11..a239073d3 100644 --- a/xmake/modules/core/tools/cparser.lua +++ b/xmake/modules/core/tools/cparser.lua @@ -231,7 +231,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) -- print some warnings if warnings and #warnings > 0 and (option.get("verbose") or option.get("warning")) then - cprint("${yellow}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n')) + cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n')) end end } -- cgit v1.3.1