Skip to content

Commit c234d24

Browse files
committed
Added warning when in microdegree mode
1 parent 29fcc8b commit c234d24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utility/mapcode.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ static void usage(const char* appName) {
8585
printf("\n");
8686
#ifndef SUPPORT_HIGH_PRECISION
8787
printf("Warning: High precision support is disabled in this build.)\n\n");
88+
#endif
89+
#ifndef LIMIT_TO_MICRODEGREES
90+
printf("Warning: This build is limited to using microdegrees.\n\n");
8891
#endif
8992
printf("Usage:\n");
9093
printf(" %s [-d| --decode] <default-territory> <mapcode> [<mapcode> ...]\n", appName);

0 commit comments

Comments
 (0)