Created
December 19, 2016 09:18
-
-
Save yurikoles/fdbc8ac7a39190df575fc7999b7e1627 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/yurikoles/work/lode/dev/core/pyuno/source/module/pyuno_util.cxx:43:18: error: no matching function for call to 'PyUnicodeUCS2_FromUnicode' | |
| ret = PyRef( PyUnicode_FromUnicode( str.getStr(), str.getLength() ), SAL_NO_ACQUIRE ); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:196:32: note: expanded from macro 'PyUnicode_FromUnicode' | |
| # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:464:23: note: candidate function not viable: no known conversion from 'const sal_Unicode *' (aka 'const char16_t *') to 'const Py_UNICODE *' (aka 'const unsigned short *') for 1st argument | |
| PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | |
| ^ | |
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:196:32: note: expanded from macro 'PyUnicode_FromUnicode' | |
| # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/pyuno/source/module/pyuno_util.cxx:63:11: error: no matching conversion for functional-style cast from 'Py_UNICODE *' (aka 'unsigned short *') to 'rtl::OUString' | |
| ret = OUString( PyUnicode_AS_UNICODE( pystr ) ); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:187:14: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'sal_Unicode' (aka 'char16_t') for 1st argument; dereference the argument with * | |
| explicit OUString( sal_Unicode value ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:197:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'int' for 1st argument; dereference the argument with * | |
| OUString(int) = delete; | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:198:14: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'char' for 1st argument; dereference the argument with * | |
| explicit OUString(char c): | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:137:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'const rtl::OUString' for 1st argument | |
| OUString( const OUString & str ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:151:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'rtl::OUString' for 1st argument | |
| OUString( OUString && str ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:165:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'rtl_uString *' (aka '_rtl_uString *') for 1st argument | |
| OUString( rtl_uString * str ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:209:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'const sal_Unicode *' (aka 'const char16_t *') for 1st argument | |
| OUString( const sal_Unicode * value ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:327:5: note: candidate constructor not viable: no known conversion from 'Py_UNICODE *' (aka 'unsigned short *') to 'rtl::OUStringLiteral' for 1st argument | |
| OUString(OUStringLiteral literal): pData(NULL) { | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:245:5: note: candidate template ignored: substitution failure [with T = unsigned short *]: no type named 'Type' in 'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *, rtl::libreoffice_internal::Dummy>' | |
| OUString( T& literal, typename libreoffice_internal::ConstCharArrayDetector< T, libreoffice_internal::Dummy >::Type = libreoffice_internal::Dummy() ) | |
| ^ ~~~~ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:266:26: note: candidate template ignored: substitution failure [with T = unsigned short *]: no type named 'TypeUtf16' in 'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *, rtl::libreoffice_internal::Dummy>' | |
| template<typename T> OUString( | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:390:5: note: candidate template ignored: could not match 'OUStringConcat<type-parameter-0-0, type-parameter-0-1>' against 'unsigned short *' | |
| OUString( const OUStringConcat< T1, T2 >& c ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:126:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided | |
| OUString() | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:179:12: note: candidate constructor not viable: requires 2 arguments, but 1 was provided | |
| inline OUString( rtl_uString * str, __sal_NoAcquire ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:223:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided | |
| OUString( const sal_Unicode * value, sal_Int32 length ) | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:374:21: note: candidate constructor not viable: requires 2 arguments, but 1 was provided | |
| inline explicit OUString( | |
| ^ | |
| /Users/yurikoles/work/lode/dev/core/include/rtl/ustring.hxx:347:5: note: candidate constructor not viable: requires at least 3 arguments, but 1 was provided | |
| OUString( const sal_Char * value, sal_Int32 length, | |
| ^ | |
| 2 errors generated. | |
| /Users/yurikoles/work/lode/dev/core/solenv/gbuild/LinkTarget.mk:189: recipe for target '/Users/yurikoles/work/lode/dev/core/workdir/CxxObject/pyuno/source/module/pyuno_util.o' failed | |
| make[1]: *** [/Users/yurikoles/work/lode/dev/core/workdir/CxxObject/pyuno/source/module/pyuno_util.o] Error 1 | |
| make[1]: *** Waiting for unfinished jobs.... | |
| warning: tag INPUT: input source `/Users/yurikoles/work/lode/dev/core/udkapi/org' does not exist | |
| warning: source /Users/yurikoles/work/lode/dev/core/udkapi/org is not a readable file or directory... skipping. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment