Hi,

bugzi...@apache.org schrieb:
Driss <driss.zoub...@gmail.com> has asked  for review:
Issue 95167: XIRR() function gives Err:502
https://bz.apache.org/ooo/show_bug.cgi?id=95167

Attachment 84632: Patch for finanical.cxx
https://bz.apache.org/ooo/attachment.cgi?id=84632&action=edit

It doesn't build with MSVC 9.0 Express.

Compiling: scaddins/source/analysis/financial.cxx
C:/AOO_debugbuild_420/trunk/main/scaddins/source/analysis/financial.cxx(570) : error C3861: 'isnan': identifier not found C:/AOO_debugbuild_420/trunk/main/scaddins/source/analysis/financial.cxx(570) : error C3861: 'isinf': identifier not found C:/AOO_debugbuild_420/trunk/main/scaddins/source/analysis/financial.cxx(570) : error C3861: 'isnan': identifier not found C:/AOO_debugbuild_420/trunk/main/scaddins/source/analysis/financial.cxx(570) : error C3861: 'isinf': identifier not found
dmake:  Error code 2, while making '../../wntmsci12/slo/financial.obj'
ERROR: error 65280 occurred while making /cygdrive/c/AOO_debugbuild_420/trunk/main/scaddins/source/analysis

What compiler do you have used for building?

isnan and isinf is not available in the old MSVC. Use ::rtl::math::isNan and ::rtl::math::isInf instead.

Perhaps ::boost::math::isinf works too, but I have not tested it.

Kind regards
Regina




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to