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.
Context
- Building pb OTools.cxx in MacOs (connectivity part) · julien2412
 
   
 
  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.