[Libreoffice] ucb/source/ucb compilation error

Thomas Klausner wiz at NetBSD.org
Tue Oct 19 05:44:17 PDT 2010


Hi!

With up-to-date git, I now see:
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx: In member function 'virtual com::sun::star::uno::Reference<com::sun::star::ucb::XContent> fileaccess::FileProvider::queryContent(const com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier>&)':
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected primary-expression before ')' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:342: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx: In member function 'virtual com::sun::star::beans::Property XPropertySetInfoImpl2::getPropertyByName(const rtl::OUString&)':
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected primary-expression before ')' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:533: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx: In member function 'virtual void fileaccess::FileProvider::setPropertyValue(const rtl::OUString&, const com::sun::star::uno::Any&)':
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected primary-expression before ')' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:615: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx: In member function 'virtual com::sun::star::uno::Any fileaccess::FileProvider::getPropertyValue(const rtl::OUString&)':
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected primary-expression before '(' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected primary-expression before ')' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected `)' before '__PRETTY_FUNCTION__'
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected `)' before ';' token
..../build/libreoffice-3.2.99.2/ucb/source/ucp/file/prov.cxx:647: error: expected `)' before ';' token


Line 342 is:
    throw IllegalIdentifierException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
533 is:
    throw UnknownPropertyException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
615:
    throw UnknownPropertyException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
647:
    throw UnknownPropertyException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );

Known bug or something NetBSD-specific again?
 Thomas


More information about the LibreOffice mailing list