Hi Martin,
I have merged in the new source code version.It works fine and is
about 10 times faster on my macbook pro (Darwin) as before:./
build_log_perftest58ms60ms60ms60ms60msmin 58ms max 60ms avg 59.8ms
But the code is not as clean as it should:
diff --git a/src/canon_perftest.cc b/src/canon_perftest.ccindex
aaec935..4f23324 100644--- a/src/canon_perftest.cc+++ b/src/
canon_perftest.cc@@ -1,3 +1,4 @@+#include <string.h> // for strlen,
strcopy #include "util.h" const char kPath[]
=--------------------------------------------------------------------------------------
and...[20/21] CXX build/ninja.oIn file included from /opt/local/
include/gcc47/c++/ext/hash_map:61:0, from src/
hash_map.h:74, from src/build_log.h:23,
from src/ninja.cc:39:/opt/local/include/gcc47/c++//backward/
backward_warning.h:33:2: warning: #warning This file includes at least
one deprecated or antiquated header which may be removed without
further notice at a future date. Please use a non-deprecated interface
with equivalent functionality instead. For a listing of replacement
headers and interfaces, consult the file backward_warning.h. To
disable this warning use -Wno-deprecated. [-Wcpp][21/21] LINK ninja
IMO the ninja build should not use -Wno-deprecated
diff --git a/configure.py b/configure.pyindex 3099ea8..66a192a
100755--- a/configure.py+++ b/configure.py@@ -118,7 +118,7 @@ if
platform == 'windows': ldflags += ['/LTCG', '/OPT:REF', '/
OPT:ICF'] else: cflags = ['-g', '-Wall', '-Wextra',-
'-Wno-deprecated',+ '-Wdeprecated', '-Wno-
unused-parameter', '-fno-rtti', '-fno-
exceptions',
Please can you fix it?
//RegardsClaus