[Libreoffice] cppunit test fails in lotuswordpro / breaks the build on Mac/PPC

Michael Meeks michael.meeks at novell.com
Fri May 20 07:36:56 PDT 2011

Hi Christian,

On Tue, 2011-05-10 at 23:25 +0200, Christian Lohmaier wrote:
> It uses SvStream, and also has the stream set to little endian, but
> then doesn't make use of the SvStream's read operations (that would
> take care of bigendian → littleendian conversion, but manually reads


>     // wrong - you'll read it to big-endian machine, so
>     pStream->Read(&nTag, sizeof(nTag));
> If the code used
>    *pStream >> nTag;
> instead, the comparison would result in the correct result.

	can we commit that at least - and then turn off the test for big-endian
machines ? [ in the absence of more PPCs around that seems like it might
be the easiest approach ].



 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list