Avoid deprecated proj_errno_string() function
commitd9d8f2125a60181938c439b45039b7b438b89bf5
authorOlly Betts <olly@survex.com>
Fri, 5 Apr 2024 22:58:31 +0000 (6 11:58 +1300)
committerOlly Betts <olly@survex.com>
Sun, 7 Apr 2024 03:18:59 +0000 (7 15:18 +1200)
treeadb0c671706291fcdeed3839858022168ee4cabb
parent32c7a4820e6f4c9e30dc227d84c778ecce73f56d
Avoid deprecated proj_errno_string() function

Use proj_context_errno_string() instead if we're using PROJ >= 8.
The old function is "potentially thread-unsafe", but we don't use
it with threads so that's not actually a problem.  This is just
about future-proofing against the old function potentially giving
deprecation warnings or being removed in a future PROJ version.
src/commands.c