[Bug 237408] net-p2p/amule-devel: Fails to build upnp 1.8.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 20 09:15:26 UTC 2019


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

            Bug ID: 237408
           Summary: net-p2p/amule-devel: Fails to build upnp 1.8.x
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://people.freebsd.org/~tobik/logs/112i386-upnp18/
                    amule-devel-10998_3.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bar at FreeBSD.org
          Reporter: tobik at freebsd.org
          Assignee: bar at FreeBSD.org
             Flags: maintainer-feedback?(bar at FreeBSD.org)

Can you help fix it?

UPnPBase.cpp:843:3: error: static_cast from 'int (*)(Upnp_EventType, void *,
void *)' (aka 'int (*)(Upnp_EventType_e, void *, void *)') to 'Upnp_FunPtr'
(aka 'int (*)(Upnp_EventType_e, const void *, void *)') is not allowed
                static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UPnPBase.cpp:1155:14: error: member access into incomplete type 'struct
Upnp_Discovery'
                if (d_event->ErrCode != UPNP_E_SUCCESS) {
                           ^
UPnPBase.cpp:1152:10: note: forward declaration of 'Upnp_Discovery'
                struct Upnp_Discovery *d_event = (struct Upnp_Discovery
*)Event;
                       ^
UPnPBase.cpp:1156:38: error: member access into incomplete type 'struct
Upnp_Discovery'
                        msg << UpnpGetErrorMessage(d_event->ErrCode) << ".";
                                                          ^
UPnPBase.cpp:1152:10: note: forward declaration of 'Upnp_Discovery'
                struct Upnp_Discovery *d_event = (struct Upnp_Discovery
*)Event;
                       ^

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


More information about the freebsd-ports-bugs mailing list