Build failure, Error: no matching function for call on x86 Linux

Luke Benes lukebenes at hotmail.com
Sun Jun 6 00:48:55 UTC 2021


Mert,
After commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=67277595902d
    Unit tests for .uno:MoveShapeHandle command

Fails with the error below on both Arch 32 and OpenSUSE i686. Any idea why this would fail on 32-bit linux? 

-Luke


[CXX] sd/qa/unit/tiledrendering/tiledrendering.cxx
In file included from /core/sd/qa/unit/tiledrendering/tiledrendering.cxx:10:
In file included from /core/sd/qa/unit/tiledrendering/../sdmodeltestbase.hxx:15:
In file included from /core/include/test/bootstrapfixture.hxx:15:
In file included from /core/include/vcl/salctype.hxx:25:
In file included from /core/include/vcl/graph.hxx:26:
In file included from /core/include/vcl/bitmapex.hxx:26:
In file included from /core/include/tools/color.hxx:24:
In file included from /core/include/com/sun/star/uno/Any.hxx:35:
In file included from /core/include/com/sun/star/uno/Any.h:33:
/core/include/cppu/unotype.hxx:300:16: error: no matching function for call to 'cppu_detail_getUnoType'
        return cppu_detail_getUnoType(static_cast< T1 * >(0));
               ^~~~~~~~~~~~~~~~~~~~~~
/core/include/cppu/unotype.hxx:325:34: note: in instantiation of member function 'cppu::UnoType<int>::get' requested here
    return ::cppu::UnoType< T >::get();
                                 ^
/core/include/com/sun/star/uno/Any.hxx:70:17: note: in instantiation of function template specialization 'cppu::getTypeFavourUnsigned<int>' requested here
        ::cppu::getTypeFavourUnsigned(&value).getTypeLibType(),
                ^
/core/include/com/sun/star/uno/Any.hxx:234:12: note: in instantiation of function template specialization 'com::sun::star::uno::Any::Any<int>' requested here
    return Any(value);
           ^
/core/sd/qa/unit/tiledrendering/tiledrendering.cxx:2643:32: note: in instantiation of function template specialization 'com::sun::star::uno::makeAny<int>' requested here
            {"HandleNum", uno::makeAny(id)},
                               ^
/core/include/cppu/unotype.hxx:124:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::cppu::UnoVoidType *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoVoidType const *) {
^
/core/include/cppu/unotype.hxx:129:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const bool *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER bool const *) {
^
/core/include/cppu/unotype.hxx:134:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const sal_Bool *' (aka 'const unsigned char *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Bool const *) {
^
/core/include/cppu/unotype.hxx:139:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int8 *' (aka 'const signed char *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int8 const *) {
^
/core/include/cppu/unotype.hxx:144:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int16 *' (aka 'const short *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int16 const *) {
^
/core/include/cppu/unotype.hxx:149:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::cppu::UnoUnsignedShortType *' for 1st argument
cppu_detail_getUnoType(
^
/core/include/cppu/unotype.hxx:159:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const sal_uInt16 *' (aka 'const unsigned short *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) {
^
/core/include/cppu/unotype.hxx:165:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int32 *' (aka 'const long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int32 const *) {
^
/core/include/cppu/unotype.hxx:170:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_uInt32 *' (aka 'const unsigned long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt32 const *) {
^
/core/include/cppu/unotype.hxx:176:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int64 *' (aka 'const long long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int64 const *) {
^
/core/include/cppu/unotype.hxx:181:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::sal_uInt64 *' (aka 'const unsigned long long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt64 const *) {
^
/core/include/cppu/unotype.hxx:187:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const float *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER float const *) {
^
/core/include/cppu/unotype.hxx:192:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const double *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER double const *) {
^
/core/include/cppu/unotype.hxx:197:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::cppu::UnoCharType *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) {
^
/core/include/cppu/unotype.hxx:204:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const sal_Unicode *' (aka 'const char16_t *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) {
^
/core/include/cppu/unotype.hxx:210:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const ::rtl::OUString *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::rtl::OUString const *) {
^
/core/include/cppu/unotype.hxx:215:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const css::uno::Type *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Type const *)
^
/core/include/cppu/unotype.hxx:221:1: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const css::uno::Any *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Any const *)
^
/core/include/cppu/unotype.hxx:247:31: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const css::uno::Exception *' for 1st argument
inline css::uno::Type const & cppu_detail_getUnoType(
                              ^
/core/include/cppu/unotype.hxx:253:31: note: candidate function not viable: no known conversion from 'T1 *' (aka 'int *') to 'const css::uno::XInterface *' for 1st argument
inline css::uno::Type const & cppu_detail_getUnoType(
                              ^
/core/include/cppu/unotype.hxx:227:1: note: candidate template ignored: could not match 'UnoSequenceType<type-parameter-0-0>' against 'int'
cppu_detail_getUnoType(
^
/core/include/cppu/unotype.hxx:240:1: note: candidate template ignored: could not match 'Sequence<type-parameter-0-0>' against 'int'
cppu_detail_getUnoType(
^
/core/include/cppu/unotype.hxx:260:1: note: candidate template ignored: could not match 'Reference<type-parameter-0-0>' against 'int'
cppu_detail_getUnoType(
^
1 error generated.
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:301: /core/workdir/CxxObject/sd/qa/unit/tiledrendering/tiledrendering.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:287: build] Error 2




More information about the LibreOffice mailing list