[mapcode] 40/56: Added warning when in microdegree mode

Stefan Fritsch sf at moszumanska.debian.org
Wed Nov 2 23:27:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to annotated tag v2.0.2
in repository mapcode.

commit c234d24f1e1963e3e3f39f0a4888a2bdb6f074a5
Author: Rijn Buve <rijn at buve.nl>
Date:   Fri Jul 3 13:26:23 2015 +0200

    Added warning when in microdegree mode
---
 utility/mapcode.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utility/mapcode.cpp b/utility/mapcode.cpp
index b217453..ec788a1 100644
--- a/utility/mapcode.cpp
+++ b/utility/mapcode.cpp
@@ -86,6 +86,9 @@ static void usage(const char* appName) {
 #ifndef SUPPORT_HIGH_PRECISION
     printf("Warning: High precision support is disabled in this build.)\n\n");
 #endif
+#ifndef LIMIT_TO_MICRODEGREES
+    printf("Warning: This build is limited to using microdegrees.\n\n");
+#endif
     printf("Usage:\n");
     printf("    %s [-d| --decode] <default-territory> <mapcode> [<mapcode> ...]\n", appName);
     printf("\n");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git



More information about the Pkg-grass-devel mailing list