From 4c0f70fbcb1b0cd3d0de5ed3b909453f67555af4 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Mon, 26 Mar 2018 13:49:09 +0200 Subject: [PATCH] gems: enable strict warnings for depot_query --- repos/gems/src/app/depot_query/main.cc | 6 +++--- repos/gems/src/app/depot_query/target.mk | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/repos/gems/src/app/depot_query/main.cc b/repos/gems/src/app/depot_query/main.cc index ba76c6c0d..a54c310e7 100644 --- a/repos/gems/src/app/depot_query/main.cc +++ b/repos/gems/src/app/depot_query/main.cc @@ -58,7 +58,7 @@ class Depot_query::Recursion_limit : Noncopyable * \throw Recursion_limit::Reached */ Recursion_limit(Recursion_limit const &other) - : _value(_checked_decr(other._value)) { } + : Noncopyable(), _value(_checked_decr(other._value)) { } }; @@ -79,7 +79,7 @@ class Depot_query::Dependencies typedef Registered_no_delete Entry; - Registry _entries; + Registry _entries { }; Collection(Allocator &alloc) : _alloc(alloc) { } @@ -184,7 +184,7 @@ struct Depot_query::Main typedef String<64> Rom_label; typedef String<16> Architecture; - Architecture _architecture; + Architecture _architecture { }; /** * Look up ROM module 'rom_label' in the archives referenced by 'pkg_path' diff --git a/repos/gems/src/app/depot_query/target.mk b/repos/gems/src/app/depot_query/target.mk index d5d7d535c..d2129486f 100644 --- a/repos/gems/src/app/depot_query/target.mk +++ b/repos/gems/src/app/depot_query/target.mk @@ -1,5 +1,3 @@ TARGET = depot_query SRC_CC = main.cc LIBS += base vfs - -CC_CXX_WARN_STRICT =