瀏覽代碼

Be sure to print linker output on link failure

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
c0282d3881
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. +7
    -6
      src/dds/build/plan/exe.cpp

+ 7
- 6
src/dds/build/plan/exe.cpp 查看文件

@@ -55,12 +55,13 @@ void link_executable_plan::link(build_env_ref env, const library_plan& lib) cons

// Check and throw if errant
if (!proc_res.okay()) {
throw_external_error<
errc::link_failure>("Failed to link executable [{}]. Link command was [{}]",
spec.output.string(),
quote_command(link_command),
proc_res.retc,
proc_res.output);
throw_external_error<errc::link_failure>(
"Failed to link executable [{}]. Link command was [{}] [Exited {}], produced "
"output:\n{}",
spec.output.string(),
quote_command(link_command),
proc_res.retc,
proc_res.output);
}
}


Loading…
取消
儲存