-
Notifications
You must be signed in to change notification settings - Fork 322
Description
raspberry pi B+
cmake
-- Checking for module 'libudev'
-- Found libudev, version 247
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args
(UDEV) does
not match the name of the calling package (udev). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
cmake/modules/Findudev.cmake:68 (find_package_handle_standard_args)
CMakeLists.txt:274 (find_package)
make
[ 9%] Building C object src/CMakeFiles/appserver.dir/appserver.c.o
/home/user/direwolf/src/appserver.c: In function ‘agw_cb_D_connected_data’:
/home/user/direwolf/src/appserver.c:501:65: warning: ‘%-9s’ directive output may be truncated writing between 9 and 479 bytes into a region of size between 54 and 64 [-Wformat-truncation=]
501 | snprintf (greeting, sizeof(greeting), " %2d %d %-9s [time later]\r",
| ^~~~
/home/user/direwolf/src/appserver.c:501:8: note: ‘snprintf’ output between 40 and 520 bytes into a destination of size 80
501 | snprintf (greeting, sizeof(greeting), " %2d %d %-9s [time later]\r",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
502 | n, session[n].channel, session[n].client_addr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~