Re: Error in Windows Build

From: Hubert Figuière <hfiguiere_at_teaser.fr>
Date: Sun Sep 22 2013 - 22:28:09 CEST

On 22/09/13 10:31 AM, Prashant Bafna wrote:
>
> Hi,
>
> With respect to some changes in the Tables code, i think there is an
> error in the Windows build:
>
>
> Refer:
>
> 1>..\..\src\text\fmt\xp\fp_TableContainer.cpp(2998) : warning C4244:
> 'argument' : conversion from 'double' to 'UT_sint32', possible loss of
> data
> 1>C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\xutility(315) : error C2664: 'bool
> (UT_sint32,fp_TableRowColumn *)' : cannot convert parameter 2 from
> 'const UT_sint32' to 'fp_TableRowColumn *'

Not sure exactly what's going on. It looks OK to me. But....

Can you try adding "const" before fp_TableRowColumn for both the
declaration and definition of fp_TableRowColumn::comparePosition ?

If you find a different fix that works, feel free to provide it.

Hub
Received on Sun Sep 22 22:28:26 2013

This archive was generated by hypermail 2.1.8 : Sun Sep 22 2013 - 22:28:26 CEST