It would be really good if tpserver-cpp included the git version in some form. This would allow you to check what version of tpserver-cpp you are running and hence better report bugs.
While that is fine when building from GIT, it doesn't work from a tarball. (And shouldn't the target be version.h?)
There have been no instances of problems caused by using old versions. So I don't really see the necessity of adding this at this time. People not developing the server should use released version. (And yes, I shouldn't take so long between versions).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=82757
Originator: NO
How?
Logged In: YES
user_id=18538
Originator: YES
Use something like this in your Makefile
version:
echo "#define GIT_HUMAN_VERSION \"`git-describe`\" " > ./src/version.h
echo "#define GIT_FULL \"`git log -n1 | sed -e's/commit //' | head -n1`\" " >> ./src/version.h
Logged In: YES
user_id=82757
Originator: NO
While that is fine when building from GIT, it doesn't work from a tarball. (And shouldn't the target be version.h?)
There have been no instances of problems caused by using old versions. So I don't really see the necessity of adding this at this time. People not developing the server should use released version. (And yes, I shouldn't take so long between versions).