[KDE/Mac] Qt 5.4 build error on OS X 10.7

Brandon Allbery allbery.b at gmail.com
Wed Feb 11 17:05:59 UTC 2015


On Wed, Feb 11, 2015 at 5:59 AM, René J.V. <rjvbertin at gmail.com> wrote:

> The build halts with an error that neither he nor I can make sense of -
> how can a ctor be deleted?


As I understand it, there are some implicit default constructors that are
normally present --- but if you declare certain (any?) constructors of your
own, the default constructors are not generated. If you don't explicitly
create those constructors yourself and then do something that uses the
constructor (often a copy constructor used implicitly), you get that
somewhat peculiar error from clang. g++ reports it differently (IIRC just
as a missing constructor, which is confusing in a different way if you're
not aware of when C++ implicitly creates some constructors).

(I have not worked with C++ in a long time, but Stack Overflow seems to
have a lot of people asking about this error.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150211/14a6aaff/attachment-0001.html>


More information about the kde-mac mailing list