Build failure in connectivity/evoab2 [loplugin:refcounting]
julien2412
serval2412 at yahoo.fr
Wed Mar 3 12:58:17 UTC 2021
Hello,
On pc Debian x86-64 with master sources updated today, I got:
[CXX] connectivity/source/drivers/firebird/Column.cxx
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NDriver.cxx:106:23:
error: cppu::OWeakObject subclass 'connectivity::evoab::OEvoabConnection'
being managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OEvoabConnection* pCon = new OEvoabConnection( *this );
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[CXX] connectivity/source/drivers/firebird/Columns.cxx
[CXX] connectivity/source/drivers/firebird/Connection.cxx
1 error generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:301 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NDriver.o]
Erreur 1
make[1]: *** Attente des tâches non terminées....
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NColumns.cxx:58:26:
error: cppu::OWeakObject subclass 'connectivity::sdbcx::OColumn' being
managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OColumn* pRet = new OColumn(
~~~~~~~~~^~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:301 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NColumns.o]
Erreur 1
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NTables.cxx:51:26:
error: cppu::OWeakObject subclass 'connectivity::evoab::OEvoabTable' being
managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OEvoabTable* pRet = new OEvoabTable(
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:301 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NTables.o]
Erreur 1
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:987:49:
error: cppu::OWeakObject subclass
'::connectivity::ODatabaseMetaDataResultSet' being managed via raw pointer,
should be managed via rtl::Reference [loplugin:refcounting]
::connectivity::ODatabaseMetaDataResultSet* pResult = new
::connectivity::ODatabaseMetaDataResultSet(::connectivity::ODatabaseMetaDataResultSet::eTableTypes);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1012:33:
error: cppu::OWeakObject subclass 'connectivity::ODatabaseMetaDataResultSet'
being managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
ODatabaseMetaDataResultSet* pResultSet = new
ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTypeInfo);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1059:33:
error: cppu::OWeakObject subclass 'connectivity::ODatabaseMetaDataResultSet'
being managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
ODatabaseMetaDataResultSet* pResultSet = new ODatabaseMetaDataResultSet(
ODatabaseMetaDataResultSet::eColumns );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1081:33:
error: cppu::OWeakObject subclass 'connectivity::ODatabaseMetaDataResultSet'
being managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
ODatabaseMetaDataResultSet* pResult = new
ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTableTypes);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:298 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NDatabaseMetaData.o]
Erreur 1
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NConnection.cxx:120:25:
error: cppu::OWeakObject subclass 'connectivity::evoab::OEvoabCatalog' being
managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OEvoabCatalog *pCat = new OEvoabCatalog(this);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NConnection.cxx:132:17:
error: cppu::OWeakObject subclass 'connectivity::evoab::OStatement' being
managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OStatement* pStmt = new OStatement(this);
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NConnection.cxx:144:30:
error: cppu::OWeakObject subclass
'connectivity::evoab::OEvoabPreparedStatement' being managed via raw
pointer, should be managed via rtl::Reference [loplugin:refcounting]
OEvoabPreparedStatement* pStmt = new OEvoabPreparedStatement( this );
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:298 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NConnection.o]
Erreur 1
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NPreparedStatement.cxx:57:30:
error: cppu::OWeakObject subclass
'connectivity::evoab::OEvoabResultSetMetaData' being managed via raw
pointer, should be managed via rtl::Reference [loplugin:refcounting]
OEvoabResultSetMetaData* pMeta = new OEvoabResultSetMetaData(
m_aQueryData.sTable );
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:298 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NPreparedStatement.o]
Erreur 1
/home/julien/lo/libreoffice/connectivity/source/drivers/evoab2/NStatement.cxx:567:22:
error: cppu::OWeakObject subclass 'connectivity::evoab::OEvoabResultSet'
being managed via raw pointer, should be managed via rtl::Reference
[loplugin:refcounting]
OEvoabResultSet* pResult = new OEvoabResultSet( this,
m_xConnection.get() );
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:298 :
/home/julien/lo/libreoffice/workdir/CxxObject/connectivity/source/drivers/evoab2/NStatement.o]
Erreur 1
make: *** [Makefile:283 : build] Erreur 2
autogen.input:
CC=clang
CXX=clang++
--enable-compiler-plugins
--enable-dbgutil
--enable-evolution2
--enable-qt5
--enable-kf5
--enable-gtk3-kde5
--enable-skia=debug
--enable-ext-nlpsolver
--enable-ext-ct2n
--enable-ext-numbertext
--enable-ext-wiki-publisher
--enable-dbus
--enable-online-update
--enable-werror
--enable-dependency-tracking
--enable-python=fully-internal
--without-system-mariadb
--enable-bundle-mariadb
--enable-symbols
--enable-avahi
--enable-eot
--enable-odk
--with-lang=en-US es fr pt pt-BR it de ru
--with-myspell-dicts
Any idea?
Julien
--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
More information about the LibreOffice
mailing list