[SOLVED] Re: Build failure in connectivity/evoab2 [loplugin:refcounting]

2021-03-04 Thread julien2412
Hello Stephan,

I cherry-picked your patch and I confirm LO builds now.
Thank you!

Julien



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure in connectivity/evoab2 [loplugin:refcounting]

2021-03-04 Thread Stephan Bergmann
 "loplugin:refcounting 
(--enable-evolution2)"


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build failure in connectivity/evoab2 [loplugin:refcounting]

2021-03-03 Thread julien2412
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