* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘geosphere’ ...
** this is package ‘geosphere’ version ‘1.5-20’
** package ‘geosphere’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 21.1.8 (3)’
using C++ compiler: ‘Debian clang version 21.1.8 (3)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpwg7LTX/R.INSTALL2720492c17bf3c/geosphere/src'
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Accumulator.cpp -o Accumulator.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c AlbersEqualArea.cpp -o AlbersEqualArea.o
AlbersEqualArea.cpp:46:24: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   46 |     if (!(fabs(stdlat) <= Math::qd))
      |           ~~~~~~~~~~~~ ^  ~~~~~~~~
AlbersEqualArea.cpp:76:25: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   76 |     if (!(fabs(stdlat1) <= Math::qd))
      |           ~~~~~~~~~~~~~ ^  ~~~~~~~~
AlbersEqualArea.cpp:80:25: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   80 |     if (!(fabs(stdlat2) <= Math::qd))
      |           ~~~~~~~~~~~~~ ^  ~~~~~~~~
AlbersEqualArea.cpp:549:21: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  549 |     if (!(fabs(lat) < Math::qd))
      |           ~~~~~~~~~ ^ ~~~~~~~~
4 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c AzimuthalEquidistant.cpp -o AzimuthalEquidistant.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c CassiniSoldner.cpp -o CassiniSoldner.o
CassiniSoldner.cpp:50:22: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   50 |       if (fabs(dlon) <= Math::qd) {
      |           ~~~~~~~~~~ ^  ~~~~~~~~
CassiniSoldner.cpp:51:25: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
   51 |         azi1 = Math::qd - da;
      |                ~~~~~~~~ ^ ~~
CassiniSoldner.cpp:52:25: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
   52 |         azi2 = Math::qd + da;
      |                ~~~~~~~~ ^ ~~
CassiniSoldner.cpp:75:26: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   75 |       cbet1 = fabs(dlon) <= Math::qd ? fabs(salp0) : -fabs(salp0),
      |               ~~~~~~~~~~ ^  ~~~~~~~~
CassiniSoldner.cpp:91:36: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   91 |     _earth.Direct(lat1, lon1, azi0 + Math::qd, x, lat, lon, azi, rk, t);
      |                               ~~~~ ^ ~~~~~~~~
5 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c CircularEngine.cpp -o CircularEngine.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c DMS.cpp -o DMS.o
DMS.cpp:341:22: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  341 |       if (ipieces[1] >= Math::dm || fpieces[1] > Math::dm ) {
      |           ~~~~~~~~~~ ^  ~~~~~~~~
DMS.cpp:341:48: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  341 |       if (ipieces[1] >= Math::dm || fpieces[1] > Math::dm ) {
      |                                     ~~~~~~~~~~ ^ ~~~~~~~~
DMS.cpp:346:22: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  346 |       if (ipieces[2] >= Math::ms || fpieces[2] > Math::ms) {
      |           ~~~~~~~~~~ ^  ~~~~~~~~
DMS.cpp:346:48: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  346 |       if (ipieces[2] >= Math::ms || fpieces[2] > Math::ms) {
      |                                     ~~~~~~~~~~ ^ ~~~~~~~~
DMS.cpp:356:30: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  356 |           (Math::ms*(Math::dm*fpieces[0] + fpieces[1]) + fpieces[2])/Math::ds :
      |                      ~~~~~~~~^~~~~~~~~~~
DMS.cpp:356:20: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  356 |           (Math::ms*(Math::dm*fpieces[0] + fpieces[1]) + fpieces[2])/Math::ds :
      |            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DMS.cpp:356:69: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  356 |           (Math::ms*(Math::dm*fpieces[0] + fpieces[1]) + fpieces[2])/Math::ds :
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
DMS.cpp:358:22: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  358 |             (Math::dm*fpieces[0] + fpieces[1]) / Math::dm : fpieces[0] ) );
      |              ~~~~~~~~^~~~~~~~~~~
DMS.cpp:358:48: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  358 |             (Math::dm*fpieces[0] + fpieces[1]) / Math::dm : fpieces[0] ) );
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
DMS.cpp:390:20: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  390 |     if (fabs(lat1) > Math::qd)
      |         ~~~~~~~~~~ ^ ~~~~~~~~
DMS.cpp:434:15: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  434 |         angle += Math::td;
      |         ~~~~~ ^  ~~~~~~~~
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c DST.cpp -o DST.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Ellipsoid.cpp -o Ellipsoid.o
Ellipsoid.cpp:68:22: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   68 |     return fabs(phi) == Math::qd ? phi:
      |            ~~~~~~~~~ ^  ~~~~~~~~
Ellipsoid.cpp:69:16: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'Math::real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
   69 |       Math::qd * MeridianDistance(phi) / QuarterMeridian();
      |       ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
Ellipsoid.cpp:73:18: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   73 |     if (fabs(mu) == Math::qd)
      |         ~~~~~~~~ ^  ~~~~~~~~
Ellipsoid.cpp:75:62: warning: arithmetic between floating-point type 'Math::real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   75 |     return InverseParametricLatitude(_ell.Einv(mu * _ell.E() / Math::qd) /
      |                                                ~~~~~~~~~~~~~ ^ ~~~~~~~~
Ellipsoid.cpp:99:22: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   99 |     return fabs(phi) == Math::qd ? 0 :
      |            ~~~~~~~~~ ^  ~~~~~~~~
5 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c EllipticFunction.cpp -o EllipticFunction.o
EllipticFunction.cpp:512:51: warning: arithmetic between floating-point type 'double' and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  512 |     real n = round((ang - Math::AngNormalize(ang))/Math::td);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GARS.cpp -o GARS.o
GARS.cpp:27:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   27 |     if (fabs(lat) > Math::qd)
      |         ~~~~~~~~~ ^ ~~~~~~~~
GARS.cpp:36:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   36 |     if (lon == Math::hd) lon = -Math::hd; // lon now in [-180,180)
      |         ~~~ ^  ~~~~~~~~
GARS.cpp:37:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   37 |     if (lat == Math::qd) lat *= (1 - numeric_limits<real>::epsilon() / 2);
      |         ~~~ ^  ~~~~~~~~
GARS.cpp:40:25: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   40 |       x = int(floor(lon * m_)) - lonorig_ * m_,
      |                     ~~~ ^ ~~
GARS.cpp:41:25: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   41 |       y = int(floor(lat * m_)) - latorig_ * m_,
      |                     ~~~ ^ ~~
GARS.cpp:102:30: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  102 |       lat1 = ilat + latorig_ * unit,
      |                     ~~~~~~~~ ^ ~~~~
GARS.cpp:103:30: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  103 |       lon1 = ilon + lonorig_ * unit;
      |                     ~~~~~~~~ ^ ~~~~
GARS.cpp:109:12: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  109 |       unit *= mult2_;
      |       ~~~~ ^  ~~~~~~
GARS.cpp:110:21: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  110 |       lat1 = mult2_ * lat1 + (mult2_ - 1 - k / mult2_);
      |              ~~~~~~ ^ ~~~~
GARS.cpp:111:21: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  111 |       lon1 = mult2_ * lon1 + (k % mult2_);
      |              ~~~~~~ ^ ~~~~
GARS.cpp:117:14: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  117 |         unit *= mult3_;
      |         ~~~~ ^  ~~~~~~
GARS.cpp:118:23: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  118 |         lat1 = mult3_ * lat1 + (mult3_ - 1 - k / mult3_);
      |                ~~~~~~ ^ ~~~~
GARS.cpp:119:23: warning: arithmetic between enumeration type 'GeographicLib::GARS::(unnamed enum at ./GARS.h:50:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  119 |         lon1 = mult3_ * lon1 + (k % mult3_);
      |                ~~~~~~ ^ ~~~~
13 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GeoCoords.cpp -o GeoCoords.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Geocentric.cpp -o Geocentric.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Geodesic.cpp -o Geodesic.o
Geodesic.cpp:182:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  182 |     lon12s = (Math::hd - lon12) - lon12s;
      |               ~~~~~~~~ ^ ~~~~~
Geodesic.cpp:299:34: warning: arithmetic between floating-point type 'const real' (aka 'const double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  299 |         (_f <= 0 || lon12s >= _f * Math::hd)) {
      |                               ~~ ^ ~~~~~~~~
Geodesic.cpp:533:26: warning: bitwise operation between different enumeration types ('GeographicLib::Geodesic::captype' and 'GeographicLib::Geodesic::mask') is deprecated [-Wdeprecated-enum-enum-conversion]
  533 |     if (caps & (OUT_MASK & DISTANCE_IN)) caps |= DISTANCE;
      |                 ~~~~~~~~ ^ ~~~~~~~~~~~
3 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GeodesicExact.cpp -o GeodesicExact.o
GeodesicExact.cpp:464:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  464 |     lon12s = (Math::hd - lon12) - lon12s;
      |               ~~~~~~~~ ^ ~~~~~
GeodesicExact.cpp:579:34: warning: arithmetic between floating-point type 'const real' (aka 'const double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  579 |         (_f <= 0 || lon12s >= _f * Math::hd)) {
      |                               ~~ ^ ~~~~~~~~
GeodesicExact.cpp:831:26: warning: bitwise operation between different enumeration types ('GeographicLib::GeodesicExact::captype' and 'GeographicLib::GeodesicExact::mask') is deprecated [-Wdeprecated-enum-enum-conversion]
  831 |     if (caps & (OUT_MASK & DISTANCE_IN)) caps |= DISTANCE;
      |                 ~~~~~~~~ ^ ~~~~~~~~~~~
3 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GeodesicExactC4.cpp -o GeodesicExactC4.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GeodesicLine.cpp -o GeodesicLine.o
GeodesicLine.cpp:148:53: warning: bitwise operation between different enumeration types ('GeographicLib::GeodesicLine::captype' and 'GeographicLib::GeodesicLine::mask') is deprecated [-Wdeprecated-enum-enum-conversion]
  148 |     if (!( Init() && (arcmode || (_caps & (OUT_MASK & DISTANCE_IN))) ))
      |                                            ~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GeodesicLineExact.cpp -o GeodesicLineExact.o
GeodesicLineExact.cpp:155:53: warning: bitwise operation between different enumeration types ('GeographicLib::GeodesicLineExact::captype' and 'GeographicLib::GeodesicLineExact::mask') is deprecated [-Wdeprecated-enum-enum-conversion]
  155 |     if (!( Init() && (arcmode || (_caps & (OUT_MASK & DISTANCE_IN))) ))
      |                                            ~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Geohash.cpp -o Geohash.o
Geohash.cpp:28:41: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'const real' (aka 'const double') is deprecated [-Wdeprecated-enum-float-conversion]
   28 |     static const real loneps = Math::hd / shift;
      |                                ~~~~~~~~ ^ ~~~~~
Geohash.cpp:29:41: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'const real' (aka 'const double') is deprecated [-Wdeprecated-enum-float-conversion]
   29 |     static const real lateps = Math::qd / shift;
      |                                ~~~~~~~~ ^ ~~~~~
Geohash.cpp:30:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   30 |     if (fabs(lat) > Math::qd)
      |         ~~~~~~~~~ ^ ~~~~~~~~
Geohash.cpp:38:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   38 |     if (lat == Math::qd) lat -= lateps / 2;
      |         ~~~ ^  ~~~~~~~~
Geohash.cpp:40:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   40 |     if (lon == Math::hd) lon = -Math::hd; // lon now in [-180,180)
      |         ~~~ ^  ~~~~~~~~
Geohash.cpp:70:41: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'const real' (aka 'const double') is deprecated [-Wdeprecated-enum-float-conversion]
   70 |     static const real loneps = Math::hd / shift;
      |                                ~~~~~~~~ ^ ~~~~~
Geohash.cpp:71:41: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'const real' (aka 'const double') is deprecated [-Wdeprecated-enum-float-conversion]
   71 |     static const real lateps = Math::qd / shift;
      |                                ~~~~~~~~ ^ ~~~~~
Geohash.cpp:105:25: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  105 |     lon = ulon * loneps - Math::hd;
      |           ~~~~~~~~~~~~~ ^ ~~~~~~~~
Geohash.cpp:106:25: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  106 |     lat = ulat * lateps - Math::qd;
      |           ~~~~~~~~~~~~~ ^ ~~~~~~~~
9 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Geoid.cpp -o Geoid.o
Geoid.cpp:420:12: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  420 |       east += Math::td;         // east - west in (0, 360]
      |       ~~~~ ^  ~~~~~~~~
1 warning generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Georef.cpp -o Georef.o
Georef.cpp:29:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   29 |     if (fabs(lat) > Math::qd)
      |         ~~~~~~~~~ ^ ~~~~~~~~
Georef.cpp:38:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   38 |     if (lat == Math::qd) lat *= (1 - numeric_limits<real>::epsilon() / 2);
      |         ~~~ ^  ~~~~~~~~
Georef.cpp:95:12: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::Georef::(unnamed enum at ./Georef.h:52:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   95 |       unit *= tile_;
      |       ~~~~ ^  ~~~~~
Georef.cpp:99:19: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Georef::(unnamed enum at ./Georef.h:52:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   99 |       lon1 = lon1 * tile_ + k;
      |              ~~~~ ^ ~~~~~
Georef.cpp:106:19: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Georef::(unnamed enum at ./Georef.h:52:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  106 |       lat1 = lat1 * tile_ + k;
      |              ~~~~ ^ ~~~~~
Georef.cpp:138:18: warning: arithmetic between enumeration type 'GeographicLib::Georef::(unnamed enum at ./Georef.h:52:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  138 |     lat = (tile_ * lat1) / unit;
      |            ~~~~~ ^ ~~~~
Georef.cpp:139:18: warning: arithmetic between enumeration type 'GeographicLib::Georef::(unnamed enum at ./Georef.h:52:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  139 |     lon = (tile_ * lon1) / unit;
      |            ~~~~~ ^ ~~~~
7 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Gnomonic.cpp -o Gnomonic.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GravityCircle.cpp -o GravityCircle.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c GravityModel.cpp -o GravityModel.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c LambertConformalConic.cpp -o LambertConformalConic.o
LambertConformalConic.cpp:38:24: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   38 |     if (!(fabs(stdlat) <= Math::qd))
      |           ~~~~~~~~~~~~ ^  ~~~~~~~~
LambertConformalConic.cpp:64:25: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   64 |     if (!(fabs(stdlat1) <= Math::qd))
      |           ~~~~~~~~~~~~~ ^  ~~~~~~~~
LambertConformalConic.cpp:68:25: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   68 |     if (!(fabs(stdlat2) <= Math::qd))
      |           ~~~~~~~~~~~~~ ^  ~~~~~~~~
LambertConformalConic.cpp:458:21: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  458 |     if (!(fabs(lat) <= Math::qd))
      |           ~~~~~~~~~ ^  ~~~~~~~~
LambertConformalConic.cpp:462:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  462 |     if (fabs(lat) == Math::qd && !(_nc == 0 && lat * _n > 0))
      |         ~~~~~~~~~ ^  ~~~~~~~~
5 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c LocalCartesian.cpp -o LocalCartesian.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c MGRS.cpp -o MGRS.o
MGRS.cpp:85:40: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:97:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   85 |     GEOGRAPHICLIB_VOLATILE real xx = x * mult_;
      |                                      ~ ^ ~~~~~
MGRS.cpp:86:40: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:97:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   86 |     GEOGRAPHICLIB_VOLATILE real yy = y * mult_;
      |                                      ~ ^ ~~~~~
MGRS.cpp:132:32: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  132 |       real ys = northp ? y : y - utmNshift_;
      |                              ~ ^ ~~~~~~~~~~
MGRS.cpp:139:10: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  139 |       ys /= tile_;
      |       ~~ ^  ~~~~~
MGRS.cpp:203:47: warning: arithmetic between different enumeration types ('GeographicLib::Math::dms' and 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  203 |       real deg = real(utmNshift_) / (Math::qd * tile_);
      |                                      ~~~~~~~~ ^ ~~~~~
MGRS.cpp:210:62: warning: arithmetic between floating-point type 'double' and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  210 |         y = floor(8 * (iband - real(9.5)) * deg + real(0.5)) * tile_
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
MGRS.cpp:215:14: warning: arithmetic between floating-point type 'double' and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  214 |         x = ((iband & 1 ? 1 : -1) * floor(4 * deg + real(0.5))
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |              + upseasting_) * tile_;
      |              ^ ~~~~~~~~~~~
MGRS.cpp:215:29: warning: arithmetic between floating-point type 'double' and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  214 |         x = ((iband & 1 ? 1 : -1) * floor(4 * deg + real(0.5))
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |              + upseasting_) * tile_;
      |              ~~~~~~~~~~~~~~ ^ ~~~~~
MGRS.cpp:260:12: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:97:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  260 |       unit *= base_;
      |       ~~~~ ^  ~~~~~
MGRS.cpp:266:18: warning: arithmetic between enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:97:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  266 |       x1 = base_ * x1 + ix;
      |            ~~~~~ ^ ~~
MGRS.cpp:267:18: warning: arithmetic between enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:97:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  267 |       y1 = base_ * y1 + iy;
      |            ~~~~~ ^ ~~
MGRS.cpp:284:16: warning: arithmetic between enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  284 |     x = (tile_ * x1) / unit;
      |          ~~~~~ ^ ~~
MGRS.cpp:285:16: warning: arithmetic between enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  285 |     y = (tile_ * y1) / unit;
      |          ~~~~~ ^ ~~
MGRS.cpp:301:24: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  301 |       ix = int(floor(x / tile_)),
      |                      ~ ^ ~~~~~
MGRS.cpp:302:24: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  302 |       iy = int(floor(y / tile_)),
      |                      ~ ^ ~~~~~
MGRS.cpp:335:11: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  335 |         y += utmNshift_;
      |         ~ ^  ~~~~~~~~~~
MGRS.cpp:342:13: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::MGRS::(unnamed enum at ./MGRS.h:159:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  342 |           y -= utmNshift_;
      |           ~ ^  ~~~~~~~~~~
17 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c MagneticCircle.cpp -o MagneticCircle.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c MagneticModel.cpp -o MagneticModel.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Math.cpp -o Math.o
Math.cpp:90:27: warning: comparison of floating-point type 'float' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   90 |     if (d == 0 || fabs(d) == hd)
      |                   ~~~~~~~ ^  ~~
Math.cpp:295:3: note: in instantiation of function template specialization 'GeographicLib::Math::AngDiff<float>' requested here
  295 |   GEOGRAPHICLIB_MATH_INSTANTIATE(float)
      |   ^
Math.cpp:279:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  279 |   template T    GEOGRAPHICLIB_EXPORT Math::AngDiff      <T>(T, T, T&);     \
      |                                            ^
Math.cpp:195:38: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'float' is deprecated [-Wdeprecated-enum-float-conversion]
  195 |     case 2: ang =            qd      - ang; break;
      |                              ~~      ^ ~~~
Math.cpp:295:3: note: in instantiation of function template specialization 'GeographicLib::Math::atan2d<float>' requested here
  295 |   GEOGRAPHICLIB_MATH_INSTANTIATE(float)
      |   ^
Math.cpp:286:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  286 |   template T    GEOGRAPHICLIB_EXPORT Math::atan2d       <T>(T, T);         \
      |                                            ^
Math.cpp:90:27: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   90 |     if (d == 0 || fabs(d) == hd)
      |                   ~~~~~~~ ^  ~~
Math.cpp:296:3: note: in instantiation of function template specialization 'GeographicLib::Math::AngDiff<double>' requested here
  296 |   GEOGRAPHICLIB_MATH_INSTANTIATE(double)
      |   ^
Math.cpp:279:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  279 |   template T    GEOGRAPHICLIB_EXPORT Math::AngDiff      <T>(T, T, T&);     \
      |                                            ^
Math.cpp:195:38: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  195 |     case 2: ang =            qd      - ang; break;
      |                              ~~      ^ ~~~
Math.cpp:296:3: note: in instantiation of function template specialization 'GeographicLib::Math::atan2d<double>' requested here
  296 |   GEOGRAPHICLIB_MATH_INSTANTIATE(double)
      |   ^
Math.cpp:286:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  286 |   template T    GEOGRAPHICLIB_EXPORT Math::atan2d       <T>(T, T);         \
      |                                            ^
Math.cpp:90:27: warning: comparison of floating-point type 'long double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   90 |     if (d == 0 || fabs(d) == hd)
      |                   ~~~~~~~ ^  ~~
Math.cpp:299:3: note: in instantiation of function template specialization 'GeographicLib::Math::AngDiff<long double>' requested here
  299 |   GEOGRAPHICLIB_MATH_INSTANTIATE(long double)
      |   ^
Math.cpp:279:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  279 |   template T    GEOGRAPHICLIB_EXPORT Math::AngDiff      <T>(T, T, T&);     \
      |                                            ^
Math.cpp:195:38: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'long double' is deprecated [-Wdeprecated-enum-float-conversion]
  195 |     case 2: ang =            qd      - ang; break;
      |                              ~~      ^ ~~~
Math.cpp:299:3: note: in instantiation of function template specialization 'GeographicLib::Math::atan2d<long double>' requested here
  299 |   GEOGRAPHICLIB_MATH_INSTANTIATE(long double)
      |   ^
Math.cpp:286:44: note: expanded from macro 'GEOGRAPHICLIB_MATH_INSTANTIATE'
  286 |   template T    GEOGRAPHICLIB_EXPORT Math::atan2d       <T>(T, T);         \
      |                                            ^
6 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c NormalGravity.cpp -o NormalGravity.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c OSGB.cpp -o OSGB.o
OSGB.cpp:52:24: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   52 |       xh = int(floor(x / tile_)),
      |                      ~ ^ ~~~~~
OSGB.cpp:53:24: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
   53 |       yh = int(floor(y / tile_));
      |                      ~ ^ ~~~~~
OSGB.cpp:140:12: warning: compound assignment of floating-point type 'real' (aka 'double') from enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  140 |       unit /= base_;
      |       ~~~~ ^  ~~~~~
OSGB.cpp:162:11: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  162 |     if (x < minx_ || x >= maxx_)
      |         ~ ^ ~~~~~
OSGB.cpp:162:24: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  162 |     if (x < minx_ || x >= maxx_)
      |                      ~ ^  ~~~~~
OSGB.cpp:167:11: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  167 |     if (y < miny_ || y >= maxy_)
      |         ~ ^ ~~~~~
OSGB.cpp:167:24: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::OSGB::(unnamed enum at ./OSGB.h:57:5)' is deprecated [-Wdeprecated-enum-float-conversion]
  167 |     if (y < miny_ || y >= maxy_)
      |                      ~ ^  ~~~~~
7 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c PolarStereographic.cpp -o PolarStereographic.o
PolarStereographic.cpp:76:28: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   76 |     rho = taup >= 0 ? (lat != Math::qd ? 1/rho : 0) : rho;
      |                        ~~~ ^  ~~~~~~~~
PolarStereographic.cpp:78:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   78 |     k = lat != Math::qd ?
      |         ~~~ ^  ~~~~~~~~
PolarStereographic.cpp:106:34: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  106 |     if (!(-Math::qd < lat && lat <= Math::qd))
      |                              ~~~ ^  ~~~~~~~~
3 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c PolygonArea.cpp -o PolygonArea.o
PolygonArea.cpp:65:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   65 |     return ( (lon2 >= 0 && lon2 < Math::td ? 0 : 1) -
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:66:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   66 |              (lon1 >= 0 && lon1 < Math::td ? 0 : 1) );
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   65 |     return ( (lon2 >= 0 && lon2 < Math::td ? 0 : 1) -
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:225:39: note: in instantiation of member function 'GeographicLib::PolygonAreaT<>::transitdirect' requested here
  225 |   template class GEOGRAPHICLIB_EXPORT PolygonAreaT<Geodesic>;
      |                                       ^
PolygonArea.cpp:66:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   66 |              (lon1 >= 0 && lon1 < Math::td ? 0 : 1) );
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   65 |     return ( (lon2 >= 0 && lon2 < Math::td ? 0 : 1) -
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:226:39: note: in instantiation of member function 'GeographicLib::PolygonAreaT<GeographicLib::GeodesicExact>::transitdirect' requested here
  226 |   template class GEOGRAPHICLIB_EXPORT PolygonAreaT<GeodesicExact>;
      |                                       ^
PolygonArea.cpp:66:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   66 |              (lon1 >= 0 && lon1 < Math::td ? 0 : 1) );
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   65 |     return ( (lon2 >= 0 && lon2 < Math::td ? 0 : 1) -
      |                            ~~~~ ^ ~~~~~~~~
PolygonArea.cpp:227:39: note: in instantiation of member function 'GeographicLib::PolygonAreaT<GeographicLib::Rhumb>::transitdirect' requested here
  227 |   template class GEOGRAPHICLIB_EXPORT PolygonAreaT<Rhumb>;
      |                                       ^
PolygonArea.cpp:66:33: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   66 |              (lon1 >= 0 && lon1 < Math::td ? 0 : 1) );
      |                            ~~~~ ^ ~~~~~~~~
8 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c RcppExports.cpp -o RcppExports.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Rhumb.cpp -o Rhumb.o
Rhumb.cpp:166:50: warning: arithmetic between floating-point type 'Math::real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  166 |       s12 = h * dmudpsi * _ell.QuarterMeridian() / Math::qd;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
Rhumb.cpp:344:26: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  344 |     _calp = fabs(_azi12) ==  Math::qd ? 0 : cos(alp12);
      |             ~~~~~~~~~~~~ ^   ~~~~~~~~
Rhumb.cpp:353:26: warning: arithmetic between floating-point type 'real' (aka 'double') and enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  353 |       mu12 = s12 * _calp * Math::qd / _rh._ell.QuarterMeridian(),
      |              ~~~~~~~~~~~ ^ ~~~~~~~~
Rhumb.cpp:356:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  356 |     if (fabs(mu2) <= Math::qd) {
      |         ~~~~~~~~~ ^  ~~~~~~~~
Rhumb.cpp:377:21: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  377 |       if (fabs(mu2) > Math::qd) mu2 = Math::AngNormalize(Math::hd - mu2);
      |           ~~~~~~~~~ ^ ~~~~~~~~
Rhumb.cpp:377:67: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  377 |       if (fabs(mu2) > Math::qd) mu2 = Math::AngNormalize(Math::hd - mu2);
      |                                                          ~~~~~~~~ ^ ~~~
6 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c SphericalEngine.cpp -o SphericalEngine.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c TransverseMercator.cpp -o TransverseMercator.o
TransverseMercator.cpp:364:25: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  364 |     bool backside = lon > Math::qd;
      |                     ~~~ ^ ~~~~~~~~
TransverseMercator.cpp:368:22: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  368 |       lon = Math::hd - lon;
      |             ~~~~~~~~ ^ ~~~
TransverseMercator.cpp:391:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  391 |     if (lat != Math::qd) {
      |         ~~~ ^  ~~~~~~~~
TransverseMercator.cpp:513:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  513 |       gamma = Math::hd - gamma;
      |               ~~~~~~~~ ^ ~~~~~
TransverseMercator.cpp:589:22: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  589 |       lon = Math::hd - lon;
      |             ~~~~~~~~ ^ ~~~
TransverseMercator.cpp:593:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  593 |       gamma = Math::hd - gamma;
      |               ~~~~~~~~ ^ ~~~~~
6 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c TransverseMercatorExact.cpp -o TransverseMercatorExact.o
TransverseMercatorExact.cpp:361:38: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  361 |     bool backside = !_extendp && lon > Math::qd;
      |                                  ~~~ ^ ~~~~~~~~
TransverseMercatorExact.cpp:365:22: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  365 |       lon = Math::hd - lon;
      |             ~~~~~~~~ ^ ~~~
TransverseMercatorExact.cpp:373:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  373 |     if (lat == Math::qd) {
      |         ~~~ ^  ~~~~~~~~
TransverseMercatorExact.cpp:376:44: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  376 |     } else if (lat == 0 && lon == Math::qd * (1 - _e)) {
      |                                   ~~~~~~~~ ^ ~~~~~~~~
TransverseMercatorExact.cpp:394:13: warning: comparison of floating-point type 'real' (aka 'double') with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
  394 |     if (lat == Math::qd) {
      |         ~~~ ^  ~~~~~~~~
TransverseMercatorExact.cpp:405:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  405 |       gamma = Math::hd - gamma;
      |               ~~~~~~~~ ^ ~~~~~
TransverseMercatorExact.cpp:454:22: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  454 |       lon = Math::hd - lon;
      |             ~~~~~~~~ ^ ~~~
TransverseMercatorExact.cpp:459:24: warning: arithmetic between enumeration type 'GeographicLib::Math::dms' and floating-point type 'real' (aka 'double') is deprecated [-Wdeprecated-enum-float-conversion]
  459 |       gamma = Math::hd - gamma;
      |               ~~~~~~~~ ^ ~~~~~
8 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c UTMUPS.cpp -o UTMUPS.o
UTMUPS.cpp:74:19: warning: comparison of floating-point type 'double' with enumeration type 'GeographicLib::Math::dms' is deprecated [-Wdeprecated-enum-float-conversion]
   74 |     if (fabs(lat) > Math::qd)
      |         ~~~~~~~~~ ^ ~~~~~~~~
1 warning generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c Utility.cpp -o Utility.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c a_dist.c -o a_dist.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c a_geodesic.cpp -o a_geodesic.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c a_geolib.cpp -o a_geolib.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c a_util.c -o a_util.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c intersect.cpp -o intersect.o
clang++-21 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o geosphere.so Accumulator.o AlbersEqualArea.o AzimuthalEquidistant.o CassiniSoldner.o CircularEngine.o DMS.o DST.o Ellipsoid.o EllipticFunction.o GARS.o GeoCoords.o Geocentric.o Geodesic.o GeodesicExact.o GeodesicExactC4.o GeodesicLine.o GeodesicLineExact.o Geohash.o Geoid.o Georef.o Gnomonic.o GravityCircle.o GravityModel.o LambertConformalConic.o LocalCartesian.o MGRS.o MagneticCircle.o MagneticModel.o Math.o NormalGravity.o OSGB.o PolarStereographic.o PolygonArea.o RcppExports.o Rhumb.o SphericalEngine.o TransverseMercator.o TransverseMercatorExact.o UTMUPS.o Utility.o a_dist.o a_geodesic.o a_geolib.o a_util.o intersect.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpwg7LTX/R.INSTALL2720492c17bf3c/geosphere/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpwg7LTX/R.INSTALL2720492c17bf3c/geosphere/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpwg7LTX/R.INSTALL2720492c17bf3c/geosphere/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-geosphere/00new/geosphere/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (geosphere)