* 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: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/geosphere/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Accumulator.cpp -o Accumulator.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c AlbersEqualArea.cpp -o AlbersEqualArea.o
AlbersEqualArea.cpp: In constructor ‘GeographicLib::AlbersEqualArea::AlbersEqualArea(real, real, real, real)’:
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: In constructor ‘GeographicLib::AlbersEqualArea::AlbersEqualArea(real, real, real, real, real)’:
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: In member function ‘void GeographicLib::AlbersEqualArea::SetScale(real, real)’:
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))
| ~~~~~~~~~~^~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c AzimuthalEquidistant.cpp -o AzimuthalEquidistant.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c CassiniSoldner.cpp -o CassiniSoldner.o
CassiniSoldner.cpp: In member function ‘void GeographicLib::CassiniSoldner::Forward(real, real, real&, real&, real&, real&) const’:
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 ‘GeographicLib::CassiniSoldner::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 ‘GeographicLib::CassiniSoldner::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: In member function ‘void GeographicLib::CassiniSoldner::Reverse(real, real, real&, real&, real&, real&) const’:
CassiniSoldner.cpp:91:36: warning: arithmetic between floating-point type ‘GeographicLib::CassiniSoldner::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);
| ~~~~~^~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c CircularEngine.cpp -o CircularEngine.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c DMS.cpp -o DMS.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c DST.cpp -o DST.o
DMS.cpp: In static member function ‘static GeographicLib::Math::real GeographicLib::DMS::InternalDecode(const std::string&, flag&)’:
DMS.cpp:341:22: warning: comparison of floating-point type ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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 ‘GeographicLib::DMS::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: In static member function ‘static void GeographicLib::DMS::DecodeLatLon(const std::string&, const std::string&, real&, real&, bool)’:
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: In static member function ‘static std::string GeographicLib::DMS::Encode(real, component, unsigned int, flag, char)’:
DMS.cpp:434:15: warning: arithmetic between floating-point type ‘GeographicLib::DMS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
434 | angle += Math::td;
| ~~~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Ellipsoid.cpp -o Ellipsoid.o
Ellipsoid.cpp: In member function ‘GeographicLib::Math::real GeographicLib::Ellipsoid::RectifyingLatitude(real) const’:
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 ‘GeographicLib::Math::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
69 | Math::qd * MeridianDistance(phi) / QuarterMeridian();
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Ellipsoid.cpp: In member function ‘GeographicLib::Math::real GeographicLib::Ellipsoid::InverseRectifyingLatitude(real) const’:
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 ‘GeographicLib::Ellipsoid::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: In member function ‘GeographicLib::Math::real GeographicLib::Ellipsoid::CircleRadius(real) const’:
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 :
| ~~~~~~~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c EllipticFunction.cpp -o EllipticFunction.o
EllipticFunction.cpp: In member function ‘GeographicLib::Math::real GeographicLib::EllipticFunction::Ed(real) const’:
EllipticFunction.cpp:512:51: warning: arithmetic between floating-point type ‘GeographicLib::EllipticFunction::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
512 | real n = round((ang - Math::AngNormalize(ang))/Math::td);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GARS.cpp -o GARS.o
GARS.cpp: In static member function ‘static void GeographicLib::GARS::Forward(real, real, int, std::string&)’:
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 ‘GeographicLib::GARS::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 ‘GeographicLib::GARS::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 ‘GeographicLib::GARS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::GARS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
40 | x = int(floor(lon * m_)) - lonorig_ * m_,
| ~~~~^~~~
GARS.cpp:41:25: warning: arithmetic between floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::GARS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
41 | y = int(floor(lat * m_)) - latorig_ * m_,
| ~~~~^~~~
GARS.cpp: In static member function ‘static void GeographicLib::GARS::Reverse(const std::string&, real&, real&, int&, bool)’:
GARS.cpp:102:30: warning: arithmetic between enumeration type ‘GeographicLib::GARS::<unnamed enum>’ and floating-point type ‘GeographicLib::GARS::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>’ and floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
103 | lon1 = ilon + lonorig_ * unit;
| ~~~~~~~~~^~~~~~
GARS.cpp:109:12: warning: arithmetic between floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::GARS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
109 | unit *= mult2_;
| ~~~~~^~~~~~~~~
GARS.cpp:110:21: warning: arithmetic between enumeration type ‘GeographicLib::GARS::<unnamed enum>’ and floating-point type ‘GeographicLib::GARS::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>’ and floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
111 | lon1 = mult2_ * lon1 + (k % mult2_);
| ~~~~~~~^~~~~~
GARS.cpp:117:14: warning: arithmetic between floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::GARS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
117 | unit *= mult3_;
| ~~~~~^~~~~~~~~
GARS.cpp:118:23: warning: arithmetic between enumeration type ‘GeographicLib::GARS::<unnamed enum>’ and floating-point type ‘GeographicLib::GARS::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>’ and floating-point type ‘GeographicLib::GARS::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
119 | lon1 = mult3_ * lon1 + (k % mult3_);
| ~~~~~~~^~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GeoCoords.cpp -o GeoCoords.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Geocentric.cpp -o Geocentric.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Geodesic.cpp -o Geodesic.o
Geodesic.cpp: In member function ‘GeographicLib::Math::real GeographicLib::Geodesic::GenInverse(real, real, real, real, unsigned int, real&, real&, real&, real&, real&, real&, real&, real&, real&) const’:
Geodesic.cpp:182:24: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘GeographicLib::Geodesic::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 GeographicLib::Geodesic::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: In member function ‘GeographicLib::GeodesicLine GeographicLib::Geodesic::InverseLine(real, real, real, real, unsigned int) const’:
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;
| ~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GeodesicExact.cpp -o GeodesicExact.o
GeodesicExact.cpp: In member function ‘GeographicLib::Math::real GeographicLib::GeodesicExact::GenInverse(real, real, real, real, unsigned int, real&, real&, real&, real&, real&, real&, real&, real&, real&) const’:
GeodesicExact.cpp:464:24: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘GeographicLib::GeodesicExact::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 GeographicLib::GeodesicExact::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: In member function ‘GeographicLib::GeodesicLineExact GeographicLib::GeodesicExact::InverseLine(real, real, real, real, unsigned int) const’:
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;
| ~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GeodesicExactC4.cpp -o GeodesicExactC4.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GeodesicLine.cpp -o GeodesicLine.o
GeodesicLine.cpp: In member function ‘GeographicLib::Math::real GeographicLib::GeodesicLine::GenPosition(bool, real, unsigned int, real&, real&, real&, real&, real&, real&, real&, real&) const’:
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))) ))
| ~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GeodesicLineExact.cpp -o GeodesicLineExact.o
GeodesicLineExact.cpp: In member function ‘GeographicLib::Math::real GeographicLib::GeodesicLineExact::GenPosition(bool, real, unsigned int, real&, real&, real&, real&, real&, real&, real&, real&) const’:
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))) ))
| ~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Geohash.cpp -o Geohash.o
Geohash.cpp: In static member function ‘static void GeographicLib::Geohash::Forward(real, real, int, std::string&)’:
Geohash.cpp:28:41: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘const GeographicLib::Geohash::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 GeographicLib::Geohash::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 ‘GeographicLib::Geohash::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 ‘GeographicLib::Geohash::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: In static member function ‘static void GeographicLib::Geohash::Reverse(const std::string&, real&, real&, int&, bool)’:
Geohash.cpp:70:41: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘const GeographicLib::Geohash::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 GeographicLib::Geohash::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 ‘GeographicLib::Geohash::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 ‘GeographicLib::Geohash::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
106 | lat = ulat * lateps - Math::qd;
| ~~~~~~~~~~~~~~^~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Geoid.cpp -o Geoid.o
Geoid.cpp: In member function ‘void GeographicLib::Geoid::CacheArea(real, real, real, real) const’:
Geoid.cpp:420:12: warning: arithmetic between floating-point type ‘GeographicLib::Geoid::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
420 | east += Math::td; // east - west in (0, 360]
| ~~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Georef.cpp -o Georef.o
Georef.cpp: In static member function ‘static void GeographicLib::Georef::Forward(real, real, int, std::string&)’:
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 ‘GeographicLib::Georef::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: In static member function ‘static void GeographicLib::Georef::Reverse(const std::string&, real&, real&, int&, bool)’:
Georef.cpp:95:12: warning: arithmetic between floating-point type ‘GeographicLib::Georef::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Georef::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | unit *= tile_;
| ~~~~~^~~~~~~~
Georef.cpp:99:19: warning: arithmetic between floating-point type ‘GeographicLib::Georef::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Georef::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
99 | lon1 = lon1 * tile_ + k;
| ~~~~~^~~~~~~
Georef.cpp:106:19: warning: arithmetic between floating-point type ‘GeographicLib::Georef::real’ {aka ‘double’} and enumeration type ‘GeographicLib::Georef::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
106 | lat1 = lat1 * tile_ + k;
| ~~~~~^~~~~~~
Georef.cpp:138:18: warning: arithmetic between enumeration type ‘GeographicLib::Georef::<unnamed enum>’ and floating-point type ‘GeographicLib::Georef::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>’ and floating-point type ‘GeographicLib::Georef::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
139 | lon = (tile_ * lon1) / unit;
| ~~~~~~^~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Gnomonic.cpp -o Gnomonic.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GravityCircle.cpp -o GravityCircle.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GravityModel.cpp -o GravityModel.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LambertConformalConic.cpp -o LambertConformalConic.o
LambertConformalConic.cpp: In constructor ‘GeographicLib::LambertConformalConic::LambertConformalConic(real, real, real, real)’:
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: In constructor ‘GeographicLib::LambertConformalConic::LambertConformalConic(real, real, real, real, real)’:
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: In member function ‘void GeographicLib::LambertConformalConic::SetScale(real, real)’:
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))
| ~~~~~~~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LocalCartesian.cpp -o LocalCartesian.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c MGRS.cpp -o MGRS.o
MGRS.cpp: In static member function ‘static void GeographicLib::MGRS::Forward(int, bool, real, real, real, int, std::string&)’:
MGRS.cpp:85:40: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
85 | GEOGRAPHICLIB_VOLATILE real xx = x * mult_;
| ~~^~~~~~~
MGRS.cpp:86:40: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
86 | GEOGRAPHICLIB_VOLATILE real yy = y * mult_;
| ~~^~~~~~~
MGRS.cpp: In static member function ‘static void GeographicLib::MGRS::Forward(int, bool, real, real, int, std::string&)’:
MGRS.cpp:132:32: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
132 | real ys = northp ? y : y - utmNshift_;
| ~~^~~~~~~~~~~~
MGRS.cpp:139:10: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
139 | ys /= tile_;
| ~~~^~~~~~~~
MGRS.cpp: In static member function ‘static void GeographicLib::MGRS::Reverse(const std::string&, int&, bool&, real&, real&, int&, bool)’:
MGRS.cpp:203:47: warning: arithmetic between different enumeration types ‘GeographicLib::Math::dms’ and ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ 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>’ 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>’ 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: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
260 | unit *= base_;
| ~~~~~^~~~~~~~
MGRS.cpp:266:18: warning: arithmetic between enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ and floating-point type ‘GeographicLib::MGRS::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>’ and floating-point type ‘GeographicLib::MGRS::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>’ and floating-point type ‘GeographicLib::MGRS::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>’ and floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
285 | y = (tile_ * y1) / unit;
| ~~~~~~^~~~
MGRS.cpp: In static member function ‘static void GeographicLib::MGRS::CheckCoords(bool, bool&, real&, real&)’:
MGRS.cpp:301:24: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
301 | ix = int(floor(x / tile_)),
| ~~^~~~~~~
MGRS.cpp:302:24: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
302 | iy = int(floor(y / tile_)),
| ~~^~~~~~~
MGRS.cpp:335:11: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
335 | y += utmNshift_;
| ~~^~~~~~~~~~~~~
MGRS.cpp:342:13: warning: arithmetic between floating-point type ‘GeographicLib::MGRS::real’ {aka ‘double’} and enumeration type ‘GeographicLib::MGRS::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
342 | y -= utmNshift_;
| ~~^~~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c MagneticCircle.cpp -o MagneticCircle.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c MagneticModel.cpp -o MagneticModel.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Math.cpp -o Math.o
Math.cpp: In instantiation of ‘static T GeographicLib::Math::AngDiff(T, T, T&) [with T = float]’:
Math.cpp:295:3: required from here
279 | template T GEOGRAPHICLIB_EXPORT Math::AngDiff <T>(T, T, T&); \
| ^
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: In instantiation of ‘static T GeographicLib::Math::atan2d(T, T) [with T = float]’:
Math.cpp:295:3: required from here
286 | template T GEOGRAPHICLIB_EXPORT Math::atan2d <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: In instantiation of ‘static T GeographicLib::Math::AngDiff(T, T, T&) [with T = double]’:
Math.cpp:296:3: required from here
279 | template T GEOGRAPHICLIB_EXPORT Math::AngDiff <T>(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: In instantiation of ‘static T GeographicLib::Math::atan2d(T, T) [with T = double]’:
Math.cpp:296:3: required from here
286 | template T GEOGRAPHICLIB_EXPORT Math::atan2d <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: In instantiation of ‘static T GeographicLib::Math::AngDiff(T, T, T&) [with T = long double]’:
Math.cpp:299:3: required from here
279 | template T GEOGRAPHICLIB_EXPORT Math::AngDiff <T>(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: In instantiation of ‘static T GeographicLib::Math::atan2d(T, T) [with T = long double]’:
Math.cpp:299:3: required from here
286 | template T GEOGRAPHICLIB_EXPORT Math::atan2d <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;
| ~~~~~~~~^~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c NormalGravity.cpp -o NormalGravity.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c OSGB.cpp -o OSGB.o
OSGB.cpp: In static member function ‘static void GeographicLib::OSGB::GridReference(real, real, int, std::string&)’:
OSGB.cpp:52:24: warning: arithmetic between floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} and enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
52 | xh = int(floor(x / tile_)),
| ~~^~~~~~~
OSGB.cpp:53:24: warning: arithmetic between floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} and enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | yh = int(floor(y / tile_));
| ~~^~~~~~~
OSGB.cpp: In static member function ‘static void GeographicLib::OSGB::GridReference(const std::string&, real&, real&, int&, bool)’:
OSGB.cpp:140:12: warning: arithmetic between floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} and enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
140 | unit /= base_;
| ~~~~~^~~~~~~~
OSGB.cpp: In static member function ‘static void GeographicLib::OSGB::CheckCoords(real, real)’:
OSGB.cpp:162:11: warning: comparison of floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} with enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
162 | if (x < minx_ || x >= maxx_)
| ~~^~~~~~~
OSGB.cpp:162:24: warning: comparison of floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} with enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
162 | if (x < minx_ || x >= maxx_)
| ~~^~~~~~~~
OSGB.cpp:167:11: warning: comparison of floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} with enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
167 | if (y < miny_ || y >= maxy_)
| ~~^~~~~~~
OSGB.cpp:167:24: warning: comparison of floating-point type ‘GeographicLib::OSGB::real’ {aka ‘double’} with enumeration type ‘GeographicLib::OSGB::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
167 | if (y < miny_ || y >= maxy_)
| ~~^~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c PolarStereographic.cpp -o PolarStereographic.o
PolarStereographic.cpp: In member function ‘void GeographicLib::PolarStereographic::Forward(bool, real, real, real&, real&, real&, real&) const’:
PolarStereographic.cpp:76:28: warning: comparison of floating-point type ‘GeographicLib::PolarStereographic::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 ‘GeographicLib::PolarStereographic::real’ {aka ‘double’} with enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
78 | k = lat != Math::qd ?
| ~~~~^~~~~~~~~~~
PolarStereographic.cpp: In member function ‘void GeographicLib::PolarStereographic::SetScale(real, real)’:
PolarStereographic.cpp:106:34: warning: comparison of floating-point type ‘GeographicLib::PolarStereographic::real’ {aka ‘double’} with enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
106 | if (!(-Math::qd < lat && lat <= Math::qd))
| ~~~~^~~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c PolygonArea.cpp -o PolygonArea.o
PolygonArea.cpp: In static member function ‘static int GeographicLib::PolygonAreaT<T>::transitdirect(real, real)’:
PolygonArea.cpp:65:33: warning: comparison of floating-point type ‘GeographicLib::PolygonAreaT<T>::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 ‘GeographicLib::PolygonAreaT<T>::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: In instantiation of ‘static int GeographicLib::PolygonAreaT<T>::transitdirect(real, real) [with GeodType = GeographicLib::Geodesic; real = double]’:
PolygonArea.cpp:225:39: required from here
225 | template class GEOGRAPHICLIB_EXPORT PolygonAreaT<Geodesic>;
| ^~~~~~~~~~~~~~~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type ‘GeographicLib::PolygonAreaT<GeographicLib::Geodesic>::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 ‘GeographicLib::PolygonAreaT<GeographicLib::Geodesic>::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: In instantiation of ‘static int GeographicLib::PolygonAreaT<T>::transitdirect(real, real) [with GeodType = GeographicLib::GeodesicExact; real = double]’:
PolygonArea.cpp:226:39: required from here
226 | template class GEOGRAPHICLIB_EXPORT PolygonAreaT<GeodesicExact>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type ‘GeographicLib::PolygonAreaT<GeographicLib::GeodesicExact>::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 ‘GeographicLib::PolygonAreaT<GeographicLib::GeodesicExact>::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: In instantiation of ‘static int GeographicLib::PolygonAreaT<T>::transitdirect(real, real) [with GeodType = GeographicLib::Rhumb; real = double]’:
PolygonArea.cpp:227:39: required from here
227 | template class GEOGRAPHICLIB_EXPORT PolygonAreaT<Rhumb>;
| ^~~~~~~~~~~~~~~~~~~
PolygonArea.cpp:65:33: warning: comparison of floating-point type ‘GeographicLib::PolygonAreaT<GeographicLib::Rhumb>::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 ‘GeographicLib::PolygonAreaT<GeographicLib::Rhumb>::real’ {aka ‘double’} with enumeration type ‘GeographicLib::Math::dms’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | (lon1 >= 0 && lon1 < Math::td ? 0 : 1) );
| ~~~~~^~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rhumb.cpp -o Rhumb.o
Rhumb.cpp: In member function ‘void GeographicLib::Rhumb::GenInverse(real, real, real, real, unsigned int, real&, real&, real&) const’:
Rhumb.cpp:166:50: warning: arithmetic between floating-point type ‘GeographicLib::Rhumb::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: In constructor ‘GeographicLib::RhumbLine::RhumbLine(const GeographicLib::Rhumb&, real, real, real)’:
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: In member function ‘void GeographicLib::RhumbLine::GenPosition(real, unsigned int, real&, real&, real&) const’:
Rhumb.cpp:353:26: warning: arithmetic between floating-point type ‘GeographicLib::RhumbLine::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 ‘GeographicLib::RhumbLine::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
377 | if (fabs(mu2) > Math::qd) mu2 = Math::AngNormalize(Math::hd - mu2);
| ~~~~~~~~~^~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c SphericalEngine.cpp -o SphericalEngine.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TransverseMercator.cpp -o TransverseMercator.o
TransverseMercator.cpp: In member function ‘void GeographicLib::TransverseMercator::Forward(real, real, real, real&, real&, real&, real&) const’:
TransverseMercator.cpp:364:25: warning: comparison of floating-point type ‘GeographicLib::TransverseMercator::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 ‘GeographicLib::TransverseMercator::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
368 | lon = Math::hd - lon;
| ~~~~~~~~~^~~~~
TransverseMercator.cpp:391:13: warning: comparison of floating-point type ‘GeographicLib::TransverseMercator::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 ‘GeographicLib::TransverseMercator::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
513 | gamma = Math::hd - gamma;
| ~~~~~~~~~^~~~~~~
TransverseMercator.cpp: In member function ‘void GeographicLib::TransverseMercator::Reverse(real, real, real, real&, real&, real&, real&) const’:
TransverseMercator.cpp:589:22: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘GeographicLib::TransverseMercator::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 ‘GeographicLib::TransverseMercator::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
593 | gamma = Math::hd - gamma;
| ~~~~~~~~~^~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TransverseMercatorExact.cpp -o TransverseMercatorExact.o
TransverseMercatorExact.cpp: In member function ‘void GeographicLib::TransverseMercatorExact::Forward(real, real, real, real&, real&, real&, real&) const’:
TransverseMercatorExact.cpp:361:38: warning: comparison of floating-point type ‘GeographicLib::TransverseMercatorExact::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 ‘GeographicLib::TransverseMercatorExact::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
365 | lon = Math::hd - lon;
| ~~~~~~~~~^~~~~
TransverseMercatorExact.cpp:373:13: warning: comparison of floating-point type ‘GeographicLib::TransverseMercatorExact::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 ‘GeographicLib::TransverseMercatorExact::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 ‘GeographicLib::TransverseMercatorExact::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 ‘GeographicLib::TransverseMercatorExact::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
405 | gamma = Math::hd - gamma;
| ~~~~~~~~~^~~~~~~
TransverseMercatorExact.cpp: In member function ‘void GeographicLib::TransverseMercatorExact::Reverse(real, real, real, real&, real&, real&, real&) const’:
TransverseMercatorExact.cpp:454:22: warning: arithmetic between enumeration type ‘GeographicLib::Math::dms’ and floating-point type ‘GeographicLib::TransverseMercatorExact::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 ‘GeographicLib::TransverseMercatorExact::real’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
459 | gamma = Math::hd - gamma;
| ~~~~~~~~~^~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c UTMUPS.cpp -o UTMUPS.o
UTMUPS.cpp: In static member function ‘static void GeographicLib::UTMUPS::Forward(real, real, int&, bool&, real&, real&, real&, real&, int, bool)’:
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)
| ~~~~~~~~~~^~~~~~~~~~
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Utility.cpp -o Utility.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c a_dist.c -o a_dist.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c a_geodesic.cpp -o a_geodesic.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c a_geolib.cpp -o a_geolib.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c a_util.c -o a_util.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c intersect.cpp -o intersect.o
g++ -std=gnu++20 -shared -L/usr/local/lib64 -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
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/geosphere/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/geosphere/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/geosphere/src'
installing to /data/gannet/ripley/R/packages/tests-devel/geosphere.Rcheck/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)