On 28.08.2013 23:54, Steele, Raymond wrote:
I'm not sure why I am having so many issues with comphelper, but I am also
getting the following:
/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/rtl/math.hxx, line 315: Error: The
function "isfinite" must have a prototype
/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/rtl/math.hxx, line 328: Error: The
function "isfinite" must have a prototype
/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/rtl/math.hxx, line 339: Error: The
function "isfinite" must have a prototype
Each instance of the above is complaining about the use of SAL_MATH_FINITE.
which I think is defined in mathconf.h
Yes, I suggest to experiment with the different SAL_MATH_FINITE
definitions. According to the C99 standard it should be isfinite() and
according to the C++ standard it should be std::isfinite() in <cmath>.
Before C99 this was more platform dependent, e.g. it may have been
called finite() or _finite(). On newer gcc's also __builtin_isfinite()
is available.
Hope that helps,
Herbert
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org