Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: implicit dereference will not access object of type #8

Open
gzliurc opened this issue Sep 15, 2020 · 0 comments
Open

warning: implicit dereference will not access object of type #8

gzliurc opened this issue Sep 15, 2020 · 0 comments

Comments

@gzliurc
Copy link

gzliurc commented Sep 15, 2020

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant