diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:43:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:43:41 +0200 |
commit | cd4e709ead8a3e97eee0ef7b362240986e18fbd5 (patch) | |
tree | 69dc4a360e53a83ac0d9243e40c672a34a568c2a /build/cxx | |
parent | 2b0b06cbf4288746075a74c12ef233efc929a095 (diff) |
Get rid of gcc, clang warnings (-Wall)
Diffstat (limited to 'build/cxx')
-rw-r--r-- | build/cxx/rule.cxx | 6 |
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}); } } |