rocket icon indicating copy to clipboard operation
rocket copied to clipboard

warning: implicit dereference will not access object of type

Open gzliurc opened this issue 5 years ago • 0 comments

I compile source in wsl"gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)", compiler warn that

/e/Releases/cmake-librepo/ubn18.04/include/rocket/rocket.hpp: In member function ‘void rocket::detail::connection_baserocket::thread_safe_policy::disconnect()’: /e/Releases/cmake-librepo/ubn18.04/include/rocket/rocket.hpp:2074:81: warning: implicit dereference will not access object of type ‘volatile rocket::intrusive_ptr<rocket::detail::connection_baserocket::thread_safe_policy >’ in statement static_cast<intrusive_ptr<connection_base> volatile&>(prev) = nullptr;

gzliurc avatar Sep 15 '20 00:09 gzliurc