[Bug 206545] mail/thunderbird: fix build with clang 3.8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 22:52:11 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206545

            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 at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(gecko at FreeBSD.org)
          Assignee: gecko at FreeBSD.org

Created attachment 166031
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166031&action=edit
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.  These
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

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


More information about the freebsd-ports-bugs mailing list