Closed cffk closed 2 years ago
The definitions of max and min are in conflict with those in <algorithm> leading to errors of the form "call of overloaded max(...) is ambiguous. The fix is to make the omitnan argument to max and min required.
<algorithm>
max(...)
omitnan
+1
Fixed with the commit 269a03782fa0b87c20470976b88677266c5423ad
Thanks for version 3.6.9! I'm now compiling mpreal support into GeographicLib without needing to apply any patches to mpreal.h.
mpreal.h
The definitions of max and min are in conflict with those in
<algorithm>
leading to errors of the form "call of overloadedmax(...)
is ambiguous. The fix is to make theomitnan
argument to max and min required.