[Qt-interest] Strange warning while compiling code with QSharedPointer

Oleg Shalnev oleg.shalnev at gmail.com
Wed Jul 21 08:20:10 CEST 2010


Good day.


I've got a problem with Qt - 4ee47d5 in Linux.


/home/ovs/project/Kalpa/Src/Component/KalpaCore/Core0/KalpaUser.cpp:110:
warning:
‘sSubsystem.QSharedPointer<Kalpa::Subsystem>::<anonymous>.QtSharedPointer::ExternalRefCount<Kalpa::Subsystem>::<anonymous>.QtSharedPointer::Basic<Kalpa::Subsystem>::value’
may be used uninitialized in this function

for code

QSharedPointer < Subsystem > sSubsystem(new Subsystem);

Some commints ago in Qt - df28c12. There is no problems like this.

Thanks a lot!
-- 
Oleg Shalnev         (Kalpa Project)
----------------------------------------------
mailto: oleg at kalpa.ru
skype:  oleg_shalnev
jabber:  oleg.shalnev at gmail.com
http://kalpa.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100721/a32b6817/attachment.html 


More information about the Qt-interest-old mailing list