Skip to content

Commit

Permalink
improve warns
Browse files Browse the repository at this point in the history
waruqi committed Jan 26, 2025
1 parent 6824ea3 commit 54aea53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/core/tools/iccarm.lua
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
function (ok, warnings)

-- print some warnings
if warnings and #warnings > 0 and policy.build_warnings(opt) then
if warnings and #warnings > 0 and not warnings:find("Warnings: none", 1, true) and policy.build_warnings(opt) then
if progress.showing_without_scroll() then
print("")
end

0 comments on commit 54aea53

Please sign in to comment.