Re: Error in Windows Build

Hubert Figuière <[email protected]> Sun, 22 Sep 2013 16:28:09 -0400
Newsgroups gmane.editors.abiword.devel
Message-ID <[email protected]>
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