mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-19 08:36:49 +00:00
gems: enable strict warnings for depot_query
This commit is contained in:
parent
c9d90c7f9f
commit
4c0f70fbcb
@ -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<Archive::Path> Entry;
|
||||
|
||||
Registry<Entry> _entries;
|
||||
Registry<Entry> _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'
|
||||
|
@ -1,5 +1,3 @@
|
||||
TARGET = depot_query
|
||||
SRC_CC = main.cc
|
||||
LIBS += base vfs
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
||||
|
Loading…
x
Reference in New Issue
Block a user