[Interest] assigning to QSharedPointer

Thiago Macieira thiago.macieira at intel.com
Tue May 30 08:05:50 CEST 2017


On segunda-feira, 29 de maio de 2017 22:53:23 PDT Hamish Moffatt wrote:
> /usr/include/i386-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:378:17:
> note:   no known conversion for argument 1 from ‘QSharedPointer<Foo>’ to
> ‘QSharedPointer<Foo>&’
> 
> 
> It does compile on MSVC2015 though.

It's a known MSVC bug. MSVC 2017 has a way to enable standards-conforming code 
and Qt enables this particular aspect by default.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list