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

gcc9 warning #126

Open
mgerhardy opened this issue Sep 4, 2018 · 0 comments
Open

gcc9 warning #126

mgerhardy opened this issue Sep 4, 2018 · 0 comments

Comments

@mgerhardy
Copy link
Contributor

/libturbobadger/tb/tb_value.cpp: In member function ‘void tb::TBValue::Copy(const tb::TBValue&)’:
/libturbobadger/tb/tb_value.cpp:208:46: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class tb::TBValue’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   memcpy(this, &source_value, sizeof(TBValue));

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