Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 09:15:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237408] net-p2p/amule-devel: Fails to build upnp 1.8.x
Message-ID:  <bug-237408-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: tobik@freebsd.org
          Assignee: bar@FreeBSD.org
             Flags: maintainer-feedback?(bar@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 !=3D UPNP_E_SUCCESS) {
                           ^
UPnPBase.cpp:1152:10: note: forward declaration of 'Upnp_Discovery'
                struct Upnp_Discovery *d_event =3D (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 =3D (struct Upnp_Discovery
*)Event;
                       ^

--=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-237408-7788>