Message: previous - next
Month: August 2014

R: [trinity-devel] KOffice workaround for raspbian-wheezy

From: Michele Calgaro <michele.calgaro@...>
Date: Wed, 27 Aug 2014 02:46:02 +0100
>from the very beginning, when they were included builds for raspbian-wheezy, I
>watching FTBFS in KOffice with reference to a compiler bug. See:
>What is your opinion? Can I push it?

Hi Slavek,
the patch looks ok and quite simple. Nevertheless the compiler error sounds a little weird, I would expect a similar error to popup in many more places.
By the way have you tried by forcing an explicit cast? Something like:

        return TQString("%1 ").arg( static_cast<TQ_INT8>(asExifNumber( i ).m_sbyte) );

It's a little "less invasive". If it doesn't work (hidden compiler mystery....), just go ahead and push your patch.