diff options
| author | ruki <[email protected]> | 2019-01-03 22:37:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-03 09:45:01 +0800 |
| commit | 21539005098febb08e7331e14cae59639c9a21fc (patch) | |
| tree | 96b6eb1301a0cbae2fe532752bdc40b759994b41 /xmake/modules/core/tools/gcc.lua | |
| parent | 22a3a1c21f41205fa5ea71a4fd0a0d9caa2b8963 (diff) | |
improve theme name
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 38210b0e3..c9dd32508 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -518,7 +518,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) local lines = _get_compile_info(errdata) if #lines > 0 then local warnings = table.concat(table.slice(lines, 1, ifelse(#lines > 8, 8, #lines)), "\n") - cprint("${yellow}%s", warnings) + cprint("${color.warning}%s", warnings) end end end |
