forked from mamchits/phantom
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
pd/base/config.C: В функции-члене «const pd::string_t* pd::config::environ_t::item_t::lookup(const pd::string_t&) const»:
pd/base/config.C:104:4: ошибка: nonnull argument «this» compared to NULL [-Werror=nonnull-compare]
if(!this)
^~
При комментировании в opts.mk флага -Werror сборка идет дальше, однако некоторое время спустя падает уже с реальной ошибкой:
./pd/base/config_named_list.H:30:44: ошибка: «pd::config::ctor_base_t<phantom::io_client::proto_t>* pd::list_item_t<pd::config::ctor_base_t<phantom::io_client::proto_t> >::next» is protected within this context
for(x_t *item = list; item; item = item->next)
~~~~~~^~~~
В попытке поменять "ну вдруг" видимость на паблик, возникает похожая ошибка, но дальше "дебажить" меня уже не хватило
Arch x86_64, 4.8.11-1
gcc 6.2.1 20160830 (GCC)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels