Date: Wed, 31 Dec 2008 13:20:03 GMT From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/130065: devel/stlport update to 5.2.1 and problems Message-ID: <200812311320.mBVDK3xc012135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/130065; it has been noted by GNATS. From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz> To: bug-followup@FreeBSD.org, v.haisman@sh.cvut.cz Cc: Subject: Re: ports/130065: devel/stlport update to 5.2.1 and problems Date: Wed, 31 Dec 2008 14:13:47 +0100 This is a multi-part message in MIME format. --------------090409030503070002030305 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The attached patch tries to work around the floating point limits problem (standards/130067) but it results into some new test suite failures which seem to be rather harmless but I am not entirely sure :) ---- NumPutGetTest::num_put_float ../../../test/unit/num_put_get_test.cpp(465) : CPPUNIT_CHECK(output == string("1.23456780e-") + digits); I have not analyzed this one. ---- NumPutGetTest::num_get_float float ../../../test/unit/num_put_get_test.cpp(248) : CPPUNIT_ASSERT(!limits::has_quiet_NaN || str.str() == "-nan"); double ../../../test/unit/num_put_get_test.cpp(248) : CPPUNIT_ASSERT(!limits::has_quiet_NaN || str.str() == "-nan"); long double ../../../test/unit/num_put_get_test.cpp(248) : CPPUNIT_ASSERT(!limits::has_quiet_NaN || str.str() == "-nan"); STLport seems to be expecting "-nan" as result of str << -std::numeric_limits<>::limits::quiet_NaN(). Everywhere I checked it prints just "nan". Dunno but this seems harmless. ---- NumPutGetTest::custom_numpunct ../../../test/unit/num_put_get_test.cpp(1253) : CPPUNIT_ASSERT(os.str() == "+inf"); Similar problem like that "-nan" above. Only this time STLport expects "+inf" and gets only "inf". -- VH --------------090409030503070002030305 Content-Type: text/plain; name="patch-stlport_cfloat.txt" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="patch-stlport_c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ZWYgTERCTF9NQU5UX0RJRworI2RlZmluZSBMREJMX01BTlRfRElH IF9fTERCTF9NQU5UX0RJR19fCisKKyN1bmRlZiBMREJMX01BWAorI2RlZmluZSBMREJMX01B WCBfX0xEQkxfTUFYX18KKworI3VuZGVmIExEQkxfTUFYXzEwX0VYUAorI2RlZmluZSBMREJM X01BWF8xMF9FWFAgX19MREJMX01BWF8xMF9FWFBfXworCisjdW5kZWYgTERCTF9NQVhfRVhQ CisjZGVmaW5lIExEQkxfTUFYX0VYUCBfX0xEQkxfTUFYX0VYUF9fCisKKyN1bmRlZiBMREJM X01JTgorI2RlZmluZSBMREJMX01JTiBfX0xEQkxfTUlOX18KKworI3VuZGVmIExEQkxfTUlO XzEwX0VYUAorI2RlZmluZSBMREJMX01JTl8xMF9FWFAgX19MREJMX01JTl8xMF9FWFBfXwor CisjdW5kZWYgTERCTF9NSU5fRVhQCisjZGVmaW5lIExEQkxfTUlOX0VYUCBfX0xEQkxfTUlO X0VYUF9fCisjZW5kaWYKKwogI2lmIChfU1RMUF9PVVRFUk1PU1RfSEVBREVSX0lEID09IDB4 MTA2ICkKICMgIGluY2x1ZGUgPHN0bC9fZXBpbG9nLmg+CiAjICB1bmRlZiBfU1RMUF9PVVRF Uk1PU1RfSEVBREVSX0lECg== --------------090409030503070002030305--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812311320.mBVDK3xc012135>