diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-14 13:30:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-14 13:30:47 +0200 |
commit | bbff2b69459a370afd6c74b6b0d3bb080ff22b89 (patch) | |
tree | e0528ae3ffd46bdaa0b76063edb918bf1dc93de6 /build2/cxx/guess.cxx | |
parent | 10dfd69f4a714f8df2ea98e8cd2ff9359a63016a (diff) |
Add support for guessing ar/ranlib signatures
Diffstat (limited to 'build2/cxx/guess.cxx')
-rw-r--r-- | build2/cxx/guess.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/build2/cxx/guess.cxx b/build2/cxx/guess.cxx index 90bf693..d2f828d 100644 --- a/build2/cxx/guess.cxx +++ b/build2/cxx/guess.cxx @@ -9,7 +9,6 @@ #include <build2/diagnostics> using namespace std; -using namespace butl; namespace build2 { @@ -97,7 +96,6 @@ namespace build2 static guess_result guess (const path& cxx, const string& pre) - try { tracer trace ("cxx::guess"); @@ -196,7 +194,7 @@ namespace build2 // Suppress all the compiler errors because we may be trying an // unsupported option. // - r = run<guess_result> (cxx, "-v", f, false, &cs); + r = run<guess_result> (cxx, "-v", f, false, false, &cs); if (!r.empty ()) r.checksum = cs.string (); @@ -277,11 +275,6 @@ namespace build2 return r; } - catch (const process_error& e) - { - error << "unable to execute " << cxx << ": " << e.what (); - throw failed (); - } static compiler_info guess_gcc (const path& cxx, |