Codebase list geos / c46b765
Add patch to use std::isnan() in platform.h too. Bas Couwenberg 7 years ago
3 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 * Bump Standards-Version to 3.9.8, no changes.
33 * Add patch to fix isnan() detection in configure.
4 * Add patch to use std::isnan() in platform.h too.
5 (closes: #831177)
46
57 -- Bas Couwenberg <sebastic@debian.org> Fri, 15 Apr 2016 18:13:48 +0200
68
0 Description: Use std::isnan for C++.
1 Based on: https://trac.osgeo.org/geos/changeset/4169/
2 Author: Bas Couwenberg <sebastic@debian.org>
3 Bug-Debian: https://bugs.debian.org/831177
4 Bug: https://trac.osgeo.org/geos/ticket/784
5
6 --- a/include/geos/platform.h.in
7 +++ b/include/geos/platform.h.in
8 @@ -86,7 +86,7 @@ extern "C"
9 #endif
10
11 #if defined(HAVE_ISNAN)
12 -# define ISNAN(x) (isnan(x))
13 +# define ISNAN(x) (std::isnan(x))
14 #else
15 # if defined(_MSC_VER)
16 # define ISNAN(x) _isnan(x)
33 disable-docygen-html-timestamp
44 spelling-errors.patch
55 look-for-isnan-in-std-namespace.patch
6 gcc6-isnan.patch