summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cparser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/cparser.lua')
-rw-r--r--xmake/modules/core/tools/cparser.lua2
1 files changed, 1 insertions, 1 deletions
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
}