undefined reference error while build

Eike Rathke erack at redhat.com
Wed Feb 27 13:12:18 PST 2013


Hi Prashant,

On Thursday, 2013-02-28 01:06:54 +0530, Prashant Pandey wrote:

> I am having a hard time debugging the undefined reference to
> <some_function> error. I made following changes:
> http://pastebin.com/DqqTsP7A. Errors are: http://pastebin.com/PW0yzzgA.
> I am porting String and its corresponding functions to OUString
> respectively.

From a short glance at your changes I see that you replaced sal_uInt16
type variables with sal_Int32 type, but did not change the calls to
String::GetToken() where they were used to something corresponding with
OUString. It is a mystery to me why your compiler even accepted that
change because there is no method

String::GetToken(unsigned short, unsigned short, int&) const

which the linker at the end rightly complains about.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
New GnuPG key 0x65632D3A : 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Old GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130227/b4799ea1/attachment.pgp>


More information about the LibreOffice mailing list