We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a381cd commit b1a7cebCopy full SHA for b1a7ceb
xmake/plugins/project/clang/compile_commands.lua
@@ -37,6 +37,9 @@ function _translate_arguments(arguments)
37
local cc = path.basename(arguments[1]):lower()
38
local is_include = false
39
for idx, arg in ipairs(arguments) do
40
+ -- convert path to string, maybe we need convert path, but not supported now.
41
+ arg = tostring(arg)
42
+
43
-- see https://github.com/xmake-io/xmake/issues/1721
44
if idx == 1 and is_host("windows") and path.extension(arg) == "" then
45
arg = arg .. ".exe"
0 commit comments