issues when using emerge

Dāvis Mosāns davispuh at gmail.com
Mon Feb 8 22:07:43 UTC 2016


2016-02-08 14:22 GMT+02:00 Sven Brauch <mail at svenbrauch.de>:
>  * Building with ninja is enabled by default, but ninja didn't build for
> me (if you want, I can check out the error again). Setting this to false
> used jom instead which worked fine.
>

This patch fixed ninja compiling with MSVC2015 for me

diff --git a/src/ninja.cc b/src/ninja.cc
index a3f1be0..453fe91 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -1161,7 +1161,7 @@ int main(int argc, char** argv) {
 #if defined(_MSC_VER)
   // Set a handler to catch crashes not caught by the __try..__except
   // block (e.g. an exception in a stack-unwind-block).
-  set_terminate(TerminateHandler);
+  ::set_terminate(TerminateHandler);
   __try {
     // Running inside __try ... __except suppresses any Windows error
     // dialogs for errors such as bad_alloc.


it's because of ambiguous set_terminate as there are also std::set_terminate


More information about the Kde-windows mailing list