solenv/gcc-wrappers/wrapper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 22d7f7b3a5d9bde58a3b6e59f5c9117faaea4673 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Oct 9 11:13:47 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Oct 9 14:03:26 2020 +0200 Be more verbose why gcc-wrapper could not create process Change-Id: I34f4209f1b830060a22ae38c05fe8a8e771c8f41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104111 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index 56936155fa47..abc0ed2864fc 100644 --- a/solenv/gcc-wrappers/wrapper.cxx +++ b/solenv/gcc-wrappers/wrapper.cxx @@ -262,7 +262,8 @@ int startprocess(string command, string args, bool verbose) &si, // Startup Info &pi) // Process Information ) { - cerr << "Error: could not create process" << endl; + auto const e = GetLastError(); + cerr << "Error: could not create process \"" << cmdlineBuf << "\": " << e << endl; exit(1); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits