aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:43:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:43:41 +0200
commitcd4e709ead8a3e97eee0ef7b362240986e18fbd5 (patch)
tree69dc4a360e53a83ac0d9243e40c672a34a568c2a /build/cxx
parent2b0b06cbf4288746075a74c12ef233efc929a095 (diff)
Get rid of gcc, clang warnings (-Wall)
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index 1eb1398..63fc4a5 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -635,7 +635,7 @@ namespace build
so ? objso::static_type : obja::static_type);
pt = &search (
- prerequisite_key {&type, &p.dir, &p.name, &p.ext, &p.scope});
+ prerequisite_key {{&type, &p.dir, &p.name, &p.ext}, &p.scope});
}
}
else if (lib* l = pt->is_a<lib> ())
@@ -675,7 +675,7 @@ namespace build
lso ? libso::static_type : liba::static_type);
pt = &search (
- prerequisite_key {&type, &p.dir, &p.name, &p.ext, &p.scope});
+ prerequisite_key {{&type, &p.dir, &p.name, &p.ext}, &p.scope});
}
}
@@ -770,7 +770,7 @@ namespace build
so ? objso::static_type : obja::static_type);
ot = &search (
- prerequisite_key {&type, &o.dir, &o.name, &o.ext, nullptr});
+ prerequisite_key {{&type, &o.dir, &o.name, &o.ext}, nullptr});
}
}