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:   [Bug 206545] mail/thunderbird: fix build with clang 3.8.0
Message-ID:  <bug-206545-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206545

            Bug ID: 206545
           Summary: mail/thunderbird: fix build with clang 3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org

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_=
events_MessageEvent.h

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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