Building pb OTools.cxx in MacOs (connectivity part)

julien2412 serval2412 at yahoo.fr
Sun Sep 14 13:46:41 PDT 2014


Hello,

On Mac OS 10.9 and master sources updated about 2 days ago, I've got this
building problem:
lo/core/connectivity/source/drivers/odbc/OTools.cxx:462:23: error: no
matching member function for call to 'append'
                aData.append(waCharArray, nReadChars);
                ~~~~~~^~~~~~
lo/core/include/rtl/ustrbuf.hxx:475:22: note: candidate function not viable:
no known conversion from 'SQLWCHAR [2048]' to 'const sal_Unicode *' (aka
'const unsigned short *') for 1st argument
    OUStringBuffer & append( const sal_Unicode * str, sal_Int32 len)
                     ^
lo/core/include/rtl/ustrbuf.hxx:661:22: note: candidate function not viable:
no known conversion from 'SQLWCHAR [2048]' to 'sal_Int32' (aka 'int') for
1st argument
    OUStringBuffer & append(sal_Int32 i, sal_Int16 radix = 10 )
                     ^
lo/core/include/rtl/ustrbuf.hxx:679:22: note: candidate function not viable:
no known conversion from 'SQLWCHAR [2048]' to 'sal_Int64' (aka 'long') for
1st argument
    OUStringBuffer & append(sal_Int64 l, sal_Int16 radix = 10 )
                     ^
lo/core/include/rtl/ustrbuf.hxx:488:87: note: candidate function template
not viable: requires single argument 'literal', but 2 arguments were
provided
    typename libreoffice_internal::ConstCharArrayDetector< T,
OUStringBuffer& >::Type append( T& literal )
                                                                                     
^
lo/core/include/rtl/ustrbuf.hxx:502:21: note: candidate function template
not viable: requires single argument 'c', but 2 arguments were provided
    OUStringBuffer& append( const OUStringConcat< T1, T2 >& c )
                    ^
lo/core/include/rtl/ustrbuf.hxx:586:9: note: candidate function template not
viable: requires 1 argument, but 2 were provided
        append( T* ) SAL_DELETED_FUNCTION;
        ^
lo/core/include/rtl/ustrbuf.hxx:420:22: note: candidate function not viable:
requires single argument 'str', but 2 arguments were provided
    OUStringBuffer & append(const OUString &str)
                    ^
lo/core/include/rtl/ustrbuf.hxx:437:22: note: candidate function not viable:
requires single argument 'str', but 2 arguments were provided
    OUStringBuffer & append(const OUStringBuffer &str)
                     ^
lo/core/include/rtl/ustrbuf.hxx:457:22: note: candidate function not viable:
requires single argument 'str', but 2 arguments were provided
    OUStringBuffer & append( const sal_Unicode * str )
                     ^
lo/core/include/rtl/ustrbuf.hxx:573:22: note: candidate function not viable:
requires single argument 'b', but 2 arguments were provided
    OUStringBuffer & append(bool b)
                     ^
lo/core/include/rtl/ustrbuf.hxx:594:22: note: candidate function not viable:
requires single argument 'str', but 2 arguments were provided
    OUStringBuffer & append(rtl_uString* str)
                     ^
lo/core/include/rtl/ustrbuf.hxx:610:22: note: candidate function not viable:
requires single argument 'b', but 2 arguments were provided
    OUStringBuffer & append(sal_Bool b)
                     ^
lo/core/include/rtl/ustrbuf.hxx:628:22: note: candidate function not viable:
requires single argument 'c', but 2 arguments were provided
    OUStringBuffer & append(char c)
                     ^
lo/core/include/rtl/ustrbuf.hxx:644:22: note: candidate function not viable:
requires single argument 'c', but 2 arguments were provided
    OUStringBuffer & append(sal_Unicode c)
                     ^
lo/core/include/rtl/ustrbuf.hxx:696:22: note: candidate function not viable:
requires single argument 'f', but 2 arguments were provided
    OUStringBuffer & append(float f)
                     ^
lo/core/include/rtl/ustrbuf.hxx:713:22: note: candidate function not viable:
requires single argument 'd', but 2 arguments were provided
    OUStringBuffer & append(double d)
                     ^
1 error generated.
make[1]: ***
[/Users/marylinevogel/lo/core/workdir/CxxObject/connectivity/source/drivers/odbc/OTools.o]
Error 1


Any idea?

Julien



--
View this message in context: http://nabble.documentfoundation.org/Building-pb-OTools-cxx-in-MacOs-connectivity-part-tp4122263.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list