[MacPorts] #39625: qt4-mac: compilation warning "field 'd' is uninitialized when used here"

MacPorts noreply at macports.org
Wed Jul 3 06:49:48 PDT 2013


#39625: qt4-mac: compilation warning "field 'd' is uninitialized when used here"
---------------------+-------------------------
 Reporter:  mojca@…  |      Owner:  michaelld@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  qt4-mac
---------------------+-------------------------
 This is probably an upstream problem, but I only started experiencing it
 recently with a variety of programs compiled against Qt4 (you can test
 with gnuplot +qt for example). Maybe because I upgraded Xcode ...

 {{{
 In file included from /opt/local/include/QtCore/QtCore:12:
 In file included from /opt/local/include/QtCore/qdatetime.h:47:
 In file included from /opt/local/include/QtCore/qsharedpointer.h:50:
 /opt/local/include/QtCore/qsharedpointer_impl.h:595:43: warning: field 'd'
 is uninitialized when used here [-Wuninitialized]
     inline QWeakPointer(X *ptr) : d(ptr ? d->getAndRef(ptr) : 0),
 value(ptr)
                                           ^
 1 warning generated.
 }}}
 It would be great to check with the upstream and report it if needed.
 (Feel free to close the ticket if it doesn't seem important.)

-- 
Ticket URL: <https://trac.macports.org/ticket/39625>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list