Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2016 22:52:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 206545] mail/thunderbird: fix build with clang 3.8.0
Message-ID:  <bug-206545-21738-YvzQnyc3y1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206545-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206545-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gecko@FreeBSD.o=
rg:
Bug 206545: mail/thunderbird: fix build with clang 3.8.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206545



--- Description ---
Created attachment 166031
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166031&action=
=3Dedit
Remove superfluous (and ambiguous) forward declarations from MessageEvent.h

During the exp-run in bug 206074, it was found that mail/thunderbird gives
errors with a recent clang 3.8.0 snapshot [1]:

../../dist/include/mozilla/dom/MessageEvent.h:61:32: error: reference to
'MessagePort' is ambiguous
  void SetSource(mozilla::dom::MessagePort* aPort);
			       ^
../../dist/include/mozilla/dom/MessagePort.h:54:7: note: candidate found by
name lookup is 'mozilla::dom::MessagePort'
class MessagePort final : public MessagePortBase
      ^
../../dist/include/mozilla/dom/MessageEvent.h:18:7: note: candidate found by
name lookup is 'mozilla::dom::MessagePort'
class MessagePort;
      ^

Similar to bug 206333 (for www/libxul), this is caused by unneeded forward
declarations of class MessagePort, MessagePortBase and MessagePortList.  Th=
ese
should be removed.

Obtained from:
https://github.com/jsonn/pkgsrc/blob/trunk/www/firefox38/patches/patch-dom_=
even
ts_MessageEvent.h

[1]
http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_=
15h2
6m58s/logs/errors/thunderbird-38.5.0.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206545-21738-YvzQnyc3y1>