<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - SplashOutputDev error: 'isfinite' was not declared in this scope"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94761#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - SplashOutputDev error: 'isfinite' was not declared in this scope"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94761">bug 94761</a>
from <span class="vcard"><a class="email" href="mailto:kenya888.en@gmail.com" title="Takahiro HASHIMOTO <kenya888.en@gmail.com>"> <span class="fn">Takahiro HASHIMOTO</span></a>
</span></b>
<pre>Tried. Works fine by just replacing isfinte with std::isfinte.
[My Environment]
Gentoo Linux
kernel 4.5.1
gcc 5.3.0
poppler latest
Qt 5.7 branch
[poppler consigure options]
Building poppler with support for:
font configuration: fontconfig
splash output: yes
cairo output: no
qt4 wrapper: no
qt5 wrapper: yes
glib wrapper: no (requires cairo output)
introspection: no
cpp wrapper: no
use gtk-doc: no
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib compress: yes
use zlib uncompress: no
use nss: yes
use libcurl: no
use libopenjpeg: yes
with openjpeg1
use cms: yes
with lcms2
command line utils: yes
Should we consider another platform compatibility?
poppler/SplashOutputDev.cc
85 #ifdef _MSC_VER
86 #include <float.h>
87 #define isfinite(x) _finite(x)
88 #endif
89
90 #ifdef __sun
91 #include <ieeefp.h>
92 #ifndef isfinite
93 #define isfinite(x) finite(x)
94 #endif
95 #endif</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>