On 6 February 2011 21:28, Steven Butler <sebut...@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 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice