external/vulp/spine/AgentInterface.cpp:31:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
::ftruncate(file_descriptor, bytes);
^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
@boragokbakan Can we check the return value, and throw a runtime error if this instruction failed?
We introduced a warning in https://github.com/tasts-robots/vulp/pull/30:
@boragokbakan Can we check the return value, and throw a runtime error if this instruction failed?