[Libreoffice] win32 build errors in svtools modules

Steven Butler sebutler at gmail.com
Sun Feb 6 04:20:03 PST 2011

On 6 February 2011 21:28, Steven Butler <sebutler at gmail.com> wrote:

>   Creating library ../wntmsci12.pro/lib/ifwi.lib and object
> ../wntmsci12.pro/lib/ifwi.exp
> ifwi.exp : error LNK2001: unresolved external symbol _real at 3f800000
> ifwi.exp : error LNK2001: unresolved external symbol _real at 41efffffffe00000
> ifwi.exp : error LNK2001: unresolved external symbol _real at 41f0000000000000
> ../wntmsci12.pro/bin/fwimi.dll : fatal error LNK1120: 3 unresolved externals
> dmake:  Error code 2, while making '../wntmsci12.pro/bin/fwimi.dll'

I used a process of elimination in classes/converter.cxx to find out
which method was inserting these symbols.

It is this one below, and the symbol seems to come from the
OUStringHash used because without a local variable of type
OUStringHash in the file I don't see the strange _real at xxx symbol.

I am still mystified as to why this is happening, especially since
there is a function directly above it that also uses OUStringHash (as
an input parameter) and doesn't cause the same thing!

OUStringHash Converter::convert_seqProp2OUStringHash( const
css::uno::Sequence< css::beans::PropertyValue >& lSource )
    OUStringHash lDestination;
    sal_Int32 nCount  = lSource.getLength();
    const css::beans::PropertyValue* pSource = lSource.getConstArray();
    for (sal_Int32 nItem=0; nItem<nCount; ++nItem)
        pSource[nItem].Value >>= lDestination[pSource[nItem].Name];
    return lDestination;

Steven Butler

More information about the LibreOffice mailing list