There was a missing #include <stdlib.h> for ARM that broke the build.
There was also a "fatal error" that was actually not treated as an error, but indicated an empty version string when building main with no tags n the current commit (This is caused by the fact that main build uses git clone --depth 1).
So now version string gets always populated, even if that means it does not contain any version, but at least it is a commit-id instead of an empty string.
This is not just a cosmetic change, because for dpservice-cli this actually caused dpservice-cli -v to not work at all (the switch never gets compiled-in in that case)
There was a missing
#include <stdlib.h>
for ARM that broke the build.There was also a "fatal error" that was actually not treated as an error, but indicated an empty version string when building main with no tags n the current commit (This is caused by the fact that main build uses
git clone --depth 1
).So now version string gets always populated, even if that means it does not contain any version, but at least it is a commit-id instead of an empty string.
This is not just a cosmetic change, because for
dpservice-cli
this actually causeddpservice-cli -v
to not work at all (the switch never gets compiled-in in that case)