[Poppler-bugs] [Bug 94761] SplashOutputDev error: 'isfinite' was not declared in this scope
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 26 16:02:53 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94761
--- Comment #5 from Takahiro HASHIMOTO <kenya888.en at gmail.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160426/713a9775/attachment.html>
More information about the Poppler-bugs
mailing list