You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
There are warnings during the compilation (gcc 7.4) in file ydlidar/sdk/include/Console.h:
/home/mik/catkin_ws/src/ydlidar/sdk/include/Console.h: In member function‘void ydlidar::Console::show(const char*, ...)’:
/home/mik/catkin_ws/src/ydlidar/sdk/include/Console.h:40:20: warning: format not a string literal and no format arguments [-Wformat-security]
printf (out);
It appears 5 times (line 40, 53, 69, 85 ad 104). It can easily be fixed, using:
printf ("%s",out);
instead of the direct printf(out) line.
regards,
Mik
The text was updated successfully, but these errors were encountered:
Hi,
There are warnings during the compilation (gcc 7.4) in file ydlidar/sdk/include/Console.h:
It appears 5 times (line 40, 53, 69, 85 ad 104). It can easily be fixed, using:
instead of the direct
printf(out)
line.regards,
Mik
The text was updated successfully, but these errors were encountered: