citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit bb68871351471a063878d8669c679a39a48742c5
parent add3ddd4f66af25ff4b81033941af2633314df76
Author: Kyle Milz <kyle@windows.krwm.net>
Date:   Wed,  4 Jan 2017 18:39:01 -0800

inst: log warning when PathFindOnPathA fails

Diffstat:
Minst_frontend.cc | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inst_frontend.cc b/inst_frontend.cc @@ -438,7 +438,8 @@ InstFrontend::fork_compiler() if (!ends_with(real_cc, ".exe") && !ends_with(real_cc, ".EXE")) std::strcat(real_cc, ".exe"); - PathFindOnPathA(real_cc, NULL); + if (PathFindOnPathA(real_cc, NULL) == FALSE) + m_log << "PathFindOnPathA failed for " << real_cc << std::endl; std::stringstream argv; for (unsigned int i = 1; i < m_args.size(); ++i)