evaluate_odometry.cpp: In function ‘void plotPathPlot(std::string, std::vector&, int32_t)’:
evaluate_odometry.cpp:237:16: warning: unknown escape sequence: '\040'
237 | fprintf(fp,"\ '' using 2:3:1 with labels offset -2,0,");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:245:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
245 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:250:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
250 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:252:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
252 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:254:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
254 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp: In function ‘void plotErrorPlots(std::string, char*)’:
evaluate_odometry.cpp:387:13: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
387 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:392:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
392 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:394:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
394 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:396:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
396 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp: In function ‘bool eval(std::string, std::string, Mail*)’:
evaluate_odometry.cpp:436:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
436 | system(("mkdir " + error_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:437:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
437 | system(("mkdir " + plot_path_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:438:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
438 | system(("mkdir " + plot_error_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp: In function ‘void plotErrorPlots(std::string, char*)’:
evaluate_odometry.cpp:343:29: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
343 | sprintf(full_name,"%s/%s",dir.c_str(),file_name);
| ^
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/c++/9/ext/string_conversions.h:43,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from evaluate_odometry.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:386:39: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1011 [-Wformat-overflow=]
386 | sprintf(command,"cd %s; gnuplot %s",dir.c_str(),file_name);
| ^~ ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/c++/9/ext/string_conversions.h:43,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from evaluate_odometry.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 14 or more bytes (assuming 1037) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
matrix.cpp: In member function ‘FLOAT Matrix::det()’:
matrix.cpp:404:17: warning: control reaches end of non-void function [-Wreturn-type]
404 | Matrix A(*this);
| ^