Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 6 February 2011 21:28, Steven Butler <sebutler@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@3f800000
ifwi.exp : error LNK2001: unresolved external symbol _real@41efffffffe00000
ifwi.exp : error LNK2001: unresolved external symbol _real@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@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;
}

Regards
Steven Butler

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.