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 due building #58

Closed
pompushko opened this issue Nov 15, 2023 · 0 comments
Closed

Warning due building #58

pompushko opened this issue Nov 15, 2023 · 0 comments

Comments

@pompushko
Copy link

I dont know, how this could be a problem... but...

[ 47%] Building CXX object CMakeFiles/addsources.dir/canthread.cpp.o
/cannelloni/canthread.cpp: In member function 'virtual int cannelloni::CANThread::start()':
/cannelloni/canthread.cpp:64:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation]
64 | strncpy(canInterface.ifr_name, m_canInterfaceName.c_str(), IFNAMSIZ);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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